Function
The CONFIGURATION SECTION makes up part of the Environment Division of a compilation unit and provides a means to do the following:
describe the computer configuration on which the program is to be compiled or executed
declare a currency sign
choose the decimal point
specify symbolic names for characters
relate implementor-names to user-specified mnemonic-names
relate alphabet-names to character sets or collating sequences
relate class-names to user-defined sets of characters
Format
CONFIGURATION SECTION. | |
[SOURCE-COMPUTER. [OBJECT-COMPUTER. [SPECIAL-NAMES. [REPOSITORY. | [source-computer-entry [debugging-mode].]] [object-computer-entry.]] [special-names-entry.]] [specifier]] |
Syntax rules
The CONFIGURATION SECTION and its associated paragraphs are optional.
If this paragraphs are specified, the sequence indicated must be observed.
The SOURCE-COMPUTER, OBJECT-COMPUTER, SPECIAL-NAMES and REPOSITORY paragraphs may not be specified in a FACTORY or OBJECT definition.
The CONFIGURATION SECTION may not be specified in a program that is contained within another program.
The CONFIGURATION SECTION may not be specified in a method definition.