COBOL/400 Language Help
- Description
- The OBJECT-COMPUTER paragraph specifies the system for which the object
program is designated.
Except for the PROGRAM COLLATING SEQUENCE clause, the OBJECT-COMPUTER
clause is syntax-checked only and has no effect on the execution of the
program.
->->---OBJECT-COMPUTER. -*-----------------------------------> 1
*-computer-name---------------------> 2
1 ->--------------------------------------------------------> 3
2 ->----*------------------------------------*--------------> 4
*-MEMORY*----*integer-*-WORDS------*-*
*SIZE* *-CHARACTERS-*
*-MODULES----*
3 ->--------------------------------------------------------> 5
4 ->--*------------------------------------------------*----> 6
**-------**---------*-SEQUENCE*--*-alphabet-name-*
*PROGRAM**COLLATING* *IS*
5 ->-------------------------------------------------*------><-
6 ->--*---------------------------------------*--. --*
*--SEGMENT-LIMIT*--*-segment-number-----*
*IS*
MEMORY SIZE is the amount of storage needed to run the object
program. The MEMORY SIZE clause is syntax-checked, but has no effect on
the execution of the program.
You can express integer in words, characters, or modules.
- The PROGRAM COLLATING SEQUENCE clause determines the collating sequence to
be used in a COBOL program. The alphabet-name specifies the
collating sequence.
- PROGRAM COLLATING SEQUENCE determines the truth value of the following
nonnumeric comparisons:
- Those explicitly specified in relation conditions.
- Those explicitly specified in condition-name conditions.
- The PROGRAM COLLATING SEQUENCE clause also applies to any nonnumeric merge
or sort keys (unless you specify the COLLATING SEQUENCE phrase in the MERGE or
SORT statement).
- If you omit the PROGRAM COLLATING SEQUENCE clause, the EBCDIC collating
sequence is used.
Alphabet-name represents the collating sequence.
The segment-number is an integer ranging from 1 through
49.
- Determines which segments will be considered permanent segments of the
object program.
- When you specify SEGMENT-LIMIT:
- Permanent segments are those with segment-numbers less than the
segment-number designated as the segment-limit.
- Overlayable fixed segments have segment-numbers from the
segment-limit through 49.
- For example, if you specify SEGMENT-LIMIT IS 25:
- Sections with segment-numbers 0 through 24 are permanent
segments.
- Sections with segment-numbers 25 through 49 are overlayable
fixed segments.
- If you omit the SEGMENT-LIMIT clause, all segments with segment-numbers 0
through 49 are permanent segments of the object program.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.