Object-Computer Paragraph

The OBJECT-COMPUTER paragraph names the computer on which the program is to be run.

General Format

OBJECT-COMPUTER. computer-name
   [ MEMORY SIZE integer {WORDS     } ]
                         {MODULES   }
   [ SEGMENT-LIMIT IS seg-val ] .

Syntax Rules

  1. computer-name is a user-defined word, or multiple words separated by spaces, that names the object computer.
  2. alphabet-name is a user-defined word that describes the collating sequence of the object machine.
  3. seg-val is an integer literal between 1 and 49 inclusive.

General Rules

  1. computer-name is for documentation purposes only.
  2. The MEMORY SIZE clause is for documentation only.
  3. The COLLATING SEQUENCE clause specifies the collating sequence for any alphanumeric comparisons done in the program. alphabet-name must be an alphabet described in SPECIAL-NAMES. The sequence of the characters in the alphabet determines the sequence for character comparisons. It also specifies the default collating sequence for SORT and MERGE verbs. The character that is first in the program collating sequence is treated as the LOW-VALUES character for the program. The character that is last in the program collating sequence is treated as the HIGH-VALUES character for the program. (The one exception to this is that in Special-Names, LOW-VALUES and HIGH-VALUES always refer to the first and last characters in the native collating sequence.)
  4. The SEGMENT-LIMIT clause defines which Procedure Division sections are to be placed in overlays. If the SEGMENT-LIMIT clause is not specified, any section with a segment number of 50 or greater is placed in overlays. When the SEGMENT-LIMIT clause is used, any section with a segment number of seg-val or greater is placed in overlays.