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

HP COBOL Manual for TNS/E Programs520347-003
20-1
20 HP COBOL Limits
The HP architecture and the method of implementation of the HP COBOL compiler,
ECOBOL, imposes these kinds of limits on HP COBOL programs:
Size
Number
Callability
External Names
Ranges of Values
Ignored Elements
Size
Block size of record in a data file
The maximum block size of a record in a data file is 32,767 characters.
Buffer size for reading (HP COBOL Fast I-O)
2 * number * dbs, where number is specified in the RESERVE clause for the file
being read, and dbs is the data block size of the file being read.
Buffer size for writing (buffered cache or HP COBOL Fast I-O)
29K characters per block, regardless of the number in the RESERVE clause.
Buffer space needed for files
The sum of the buffer space needed for files cannot exceed 62 KB.
Code
°
Single HP COBOL program
The code space limit for any single HP COBOL program is 16 MB. This limit
does not include any contained programs, each of which has its own 16 MB
limit.
°
HP COBOL run unit
The combined object code space for the program file and ordinary DLLs is
256 MB. Ordinary DLLs do not include the public DLLs such as ZCOBDLL and
ZCREDLL.
Composite of Operands
The composite of operands for an arithmetic statement other than COMPUTE must
not exceed a size of 18 decimal digits. For arithmetic expressions or COMPUTE
statements, the composite of operands does not apply.