COBOL Manual for TNS and TNS/R Programs

HP COBOL Manual for TNS and TNS/R Programs522555-006
20-1
20 HP COBOL Limits
The HP architecture and the method of implementation of the HP COBOL compilers,
COBOL85 and NMCOBOL, impose 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 TNS HP COBOL program
A single TNS HP COBOL program (in which no other HP COBOL programs
are nested) can occupy up to 128 KB of user code space. A program that
contains nested programs can be much larger than 128 KB, but no single
program can exceed 128 KB.
°
Single TNS/R HP COBOL program
The code space limit for a native HP COBOL program is 32 megabytes.
°
C, FORTRAN, Pascal, and TAL programs in TNS processes
For a TNS process, an individual C, FORTRAN, Pascal, or TAL program unit
can occupy up to 64 KB of user code space or user library space (but
FORTRAN programs in user library space cannot use DATA, COMMON, or
SAVE statements).