Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


OBJECT-COMPUTER paragraph

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

Format
Read syntax diagramSkip visual syntax diagram>>-OBJECT-COMPUTER.--------------------------------------------->
 
>--+------------------------------------------------------------------------------+-><
   '-computer-name--+-------------------------------------------+--| entry 1 |--.-'  
                    '-MEMORY--+------+--integer--+-WORDS------+-'                    
                              '-SIZE-'           +-CHARACTERS-+                      
                                                 '-MODULES----'                      
 
entry 1:
 
|--+-------------------------------------------------------------+-->
   '-+---------+--+-----------+--SEQUENCE--+----+--alphabet-name-'  
     '-PROGRAM-'  '-COLLATING-'            '-IS-'                   
 
>--+----------------------------------------+-------------------|
   '-SEGMENT-LIMIT--+----+--priority-number-'  
                    '-IS-'                     
 
computer-name
A system-name. For example:

IBM-X22
MEMORY SIZE
The amount of main storage needed to run the object program. The MEMORY SIZE clause is syntax checked but has no effect on the execution of the program.
integer
Expressed in words, characters, or modules.
 
PROGRAM COLLATING SEQUENCE IS
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 any programs it might contain.

alphabet-name
The collating sequence.

PROGRAM COLLATING SEQUENCE determines the truth value of the following alphanumeric comparisons:

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

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.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)