COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

of the keys cannot exceed 2046 characters for Indexed files; for other files, the sum cannot
exceed 253 characters.
For a list of the required H06.28/J06.17 SPRs, see “SPR Requirements for Increased Enscribe
Limits for the H06.28/J06.17 Release” (page 38).
Index
An index (index-name or index data item) occupies four bytes, in any section: File,
Working-Storage, or Extended-Storage.
Length of a numeric literal
A numeric literal has a maximum length of 18 digits.
Length of a nonnumeric literal or OSS path name
A nonnumeric literal or OSS path name has a maximum length of 160 characters.
Logical page
When a file definition includes a LINAGE clause, the size of its logical page is limited to
9,999 lines.
Record or table
Maximum Record or Table SizeLocation of Record or Table
No explicit limit—one record of 134,217,726
characters is possible
Extended-Storage Section
2 MBFile assigned to $RECEIVE
Operating environment limits for the device applyFile assigned to another device
2 MB for files assigned to $RECEIVE; 32,768 for other
files
File Section
134 megabytesLinkage Section
No explicit limit—one record of 134,217,726
characters is possible
Working-Storage Section
Relative record number
The maximum relative record number for a relative file is 64 bits.
Tables allocated by the RECEIVE-CONTROL paragraph
The maximum size of the tables allocated by the RECEIVE-CONTROL paragraph is 62 KB
(65,400 characters). Anything larger causes a compilation error.
Number
These items, whose number in a program is limited, are in alphabetic order.
AFTER phrases in a PERFORM statement
The maximum number of AFTER phrases in a PERFORM statement is 6.
Characters written to an Edit-format file
An HP COBOL program can write at most 239 characters to a record of an Edit-format file
Digits in a hexadecimal numeric literal
The minimum number of hexadecimal digits in a hexadecimal numeric literal is 2 (1 pair); the
maximum is 16 (8 pairs).
Number 727