COBOL Manual for TNS and TNS/R Programs
HP COBOL Limits
HP COBOL Manual for TNS and TNS/R Programs—522555-006
20-5
Number
•
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.
•
Nesting depth
°
OCCURS clauses
The maximum depth of OCCURS clauses in a table is 7.
°
Programs
Programs can be nested within other programs to a depth of 7.
°
HP COBOL PERFORM stack
The maximum depth varies from 0 to approximately 15,000, depending on the
space available on the stack.
°
NMCOBOL PERFORM stack
The maximum depth is 50.
•
Parameters
The maximum number of parameters that can be passed by a HP COBOL program
or to a HP COBOL program is 126.
•
Prime key offset
For indexed files, the maximum offset of a prime key from the beginning of a
record is 2,034, which is an Enscribe record manager limitation.