Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)

Compilation
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
7-19
SCREEN COBOL Limits
SCREEN COBOL Limits
The Compaq NonStop™ Himalaya system architecture and the method of implementing
the SCREEN COBOL compiler impose certain limits on programs, such as:
A nonnumeric literal cannot exceed 120 characters.
A numeric literal cannot exceed 18 digits.
The value of numeric data cannot exceed 18 digits.
The maximum total size of a SCREEN COBOL program unit is 65,408 bytes. Of
that, the pseudocode is restricted to a maximum of 32,767 bytes. Data size, however,
is not restricted. It is recommended that an elementary data item or referenced group
item not exceed 32,000 bytes in length. (These items are defined in the Working-
Storage Section or Linkage Section.) However, it is possible for data to exceed
32,000 bytes by using space not needed for pseudocode.
The maximum message or reply length in a SEND statement cannot exceed the data
space allocated to the TCP by any of the following three parameters of the
PATHCOM command SET TCP:
°
SERVERPOOL (limit for server I/O messages)
°
MAXTERMDATA (limit for terminal context data)
°
MAXREPLY (limit for a reply)
See the Pathway system administrator at your site for values for these limits. In
addition, a message and reply are included in Working Storage and are affected by the
limit of 32,000 bytes for Working Storage.
The number of paragraphs in a PERFORM ONE statement cannot exceed 255.
A screen item (defined in the Screen Section) cannot exceed 255 characters in
length.
Length specified in the LENGTH MUST BE clause (screen item) cannot exceed
255 characters.
A screen item can have only one subscript. A data item can have a maximum of
three subscripts.
Representation of a PICTURE character string cannot exceed 30 characters. Data
items with more character positions must be described with parenthesized repetition
counts.
An overlay screen cannot exceed the size of the overlay area.
The maximum number of diagnostic messages that the compiler writes during
compilation is 32,767.
The maximum number of screen field identifiers in a DEPENDING clause is 127
per RESET, SET, DISPLAY, or TURN statement.