COBOL Manual for TNS/E Programs (H06.03+)
HP COBOL Limits
HP COBOL Manual for TNS/E Programs—520347-003
20-3
Number
•
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
A 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).
•
File names
°
In a MULTIPLE FILE TAPE clause
HP COBOL supports 31 file names within a single MULTIPLE FILE TAPE
clause.
°
In the GIVING or USING phrase of a MERGE or SORT statement
HP COBOL supports a maximum of 31 file names within the USING or GIVING
phrase of a SORT or MERGE statement.
•
Keys
HP COBOL supports a maximum of 31 alternate record keys for a file, 31 key
references in an OCCURS clause, and 31 keys in a SORT or MERGE statement.
•
Maximum number of concurrent statement names in SQL/MP
Without Extended Dynamic SQL (EDS), the maximum number of concurrent
statement names in SQL/MP is 20. With EDS, you need not prespecify the
maximum number of concurrent statement names.
•
MULTIPLE FILE TAPE clauses
HP COBOL supports a maximum of 8 MULTIPLE FILE TAPE clauses within a
source program.










