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 DBCS data items or data items of usage NATIONAL.

If the PROGRAM COLLATING SEQUENCE clause is omitted, the EBCDIC collating sequence is used. (See EBCDIC and ASCII collating sequences.)

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. All sections with priority-numbers 0 through 49 are fixed permanent segments. See Procedures for a description of priority-numbers and segmentation support.

Segmentation is not supported for programs compiled with the THREAD option.

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.

Start of changeThe OBJECT-COMPUTER paragraph cannot be specified in a function prototype definition.End of change