Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CONFIGURATION SECTION

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

  1. The CONFIGURATION SECTION and its associated paragraphs are optional.

  2. If this paragraphs are specified, the sequence indicated must be observed.

  3. The SOURCE-COMPUTER, OBJECT-COMPUTER, SPECIAL-NAMES and REPOSITORY paragraphs may not be specified in a FACTORY or OBJECT definition.

  4. The CONFIGURATION SECTION may not be specified in a program that is contained within another program.

  5. The CONFIGURATION SECTION may not be specified in a method definition.