COBOL Manual for TNS/E Programs (H06.03+)
HP COBOL Limits
HP COBOL Manual for TNS/E Programs—520347-003
20-5
Callability
Callability
Native HP COBOL programs can call programs written in:
•
Native HP C
•
Native HP C++
•
Native HP COBOL
•
pTAL
External Names
Within a run unit, no external data item can have the same name as any external file
connector or any program.
Ranges of Values
The ranges of values for types NATIVE-2, NATIVE-4, and NATIVE-8 are:
The ranges of values for the type COMPUTATIONAL-5 are. Bracketed items are
optional.
Type Lower Bound Upper Bound
NATIVE-2 -32768 +32767
NATIVE-4 -2147483648 +2147483647
NATIVE-8 -9223372036854775808 +9223372036854775807
PICTURE
Clause
NATIVE-n
Equivalent
Range
Signed Unsigned
PIC [S]9(1) -
PIC [S]9(4)
NATIVE-2 -32,768 through 32,767 0 through 65,535
PIC [S]9(5) -
PIC [S]9(9)
NATIVE-4 -2,147,483,648 through
2,147,483,647
0 through 4,294,967,295
PIC [S]9(10) -
PIC [S]9(18)
NATIVE-8 -9,223,372,036,854,775,808
through
9,223,372,036,854,775,807
0 through
18,446,744,073,709,551,615










