Describing the computing environment
In the ENVIRONMENT
DIVISION of a program, you describe the aspects of the program that depend
on the computing environment.
Use
the CONFIGURATION SECTION to specify the following items:
- Computer for compiling the program (in the SOURCE-COMPUTER
paragraph)
- Computer for running the program (in the OBJECT-COMPUTER
paragraph)
- Special items such as the currency sign and symbolic characters (in the SPECIAL-NAMES
paragraph)
- User-defined classes (in the REPOSITORY paragraph)
Use
the FILE-CONTROL and I-O-CONTROL paragraphs of the INPUT-OUTPUT
SECTION to:
- Identify and describe the characteristics of the files in the program.
- Associate your files with the corresponding system
file-name, directly or indirectly.
-
Optionally
identify the file system (for example, STL file
system) that is associated with a file. You can also do this at run time.
- Provide information about how the files are accessed.
Example: FILE-CONTROL paragraph
related tasks
Specifying the collating sequence
Defining symbolic characters
Defining a user-defined class
Identifying files to the operating system
related references
Sections and paragraphs
(COBOL for Windows Language Reference)
|