OBJECT-COMPUTER paragraph

The OBJECT-COMPUTER paragraph specifies the system for which the object program is designated.

Format

Read syntax diagramSkip visual syntax diagramOBJECT-COMPUTER.computer-nameMEMORYSIZEintegerWORDSCHARACTERSMODULESentry 1.
entry 1
Read syntax diagramSkip visual syntax diagramPROGRAMCOLLATINGSEQUENCEISalphabet-nameSEGMENT-LIMITISpriority-number

computer-name
A system-name. For example:

IBM-system
MEMORY SIZE integer
integer specifies the amount of main storage needed to run the object program, in words, characters or modules. The MEMORY SIZE clause is syntax checked but has no effect on the execution of the program.
PROGRAM COLLATING SEQUENCE IS alphabet-name
The collating sequence used in this program is the collating sequence associated with the specified alphabet-name.

The collating sequence pertains to this program and to any programs that this program might contain.

PROGRAM COLLATING SEQUENCE determines the truth value of the following alphanumeric comparisons:
  • Those explicitly specified in relation conditions
  • Those explicitly specified in condition-name conditions

The PROGRAM COLLATING SEQUENCE clause also applies to any merge or sort keys described with usage DISPLAY, unless the COLLATING SEQUENCE phrase is specified in the MERGE or SORT statement.

The PROGRAM COLLATING SEQUENCE clause does not apply to data items of usage NATIONAL.

You cannot specify the PROGRAM COLLATING SEQUENCE clause if the source code page is a multibyte code page.

If the PROGRAM COLLATING SEQUENCE clause is omitted, the COLLSEQ compiler option indicates the collating sequence used. For example, if COLLSEQ(EBCDIC) is specified and the PROGRAM COLLATING SEQUENCE clause is not specified (or is NATIVE), the EBCDIC collating sequence is used.

SEGMENT-LIMIT IS
The SEGMENT-LIMIT clause is syntax checked but has no effect on the execution of the program.
priority-number
An integer ranging from 1 through 49. This value is syntax checked but has no effect on the execution of the program.

All of the OBJECT-COMPUTER paragraph is syntax checked, but only the PROGRAM COLLATING SEQUENCE clause has an effect on the execution of the program.