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

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.
PERFORM stack
The maximum depth is 50.
Parameters
The maximum number of parameters that can be passed by an HP COBOL program or to an
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.
Records
There is no explicit limit on the number of internal or external records in a main program, a
called program, or a run unit.
Receivers
In an INITIALIZE Statement
The maximum number of receivers in an INITIALIZE statement is 127.
In a MOVE statement
The maximum number of receivers in a MOVE statement is 255.
References to level-88 condition-names in a program
A condition-name can be defined in the Environment Division (associated with an external
switch) or in the Data Division (as a level-88 item). The Procedure Division of a program can
728 HP COBOL Limits