z/OS Language Environment Writing Interlanguage Communication Applications
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Data type equivalents when TRUNC(BIN) is specified

z/OS Language Environment Writing Interlanguage Communication Applications
SA38-0684-00

If you specify the COBOL compiler option TRUNC(BIN), the following data types are equivalent between PL/I and COBOL:

Table 1. Equivalent data types between PL/I and COBOL when TRUNC(BIN) compiler option specified
PL/I COBOL
REAL FIXED BINARY(31,0)

PIC S9(9)  USAGE IS BINARY
PIC S9(8)  USAGE IS BINARY
PIC S9(7)  USAGE IS BINARY
PIC S9(6)  USAGE IS BINARY
PIC S9(5)  USAGE IS BINARY

REAL FIXED BINARY(15,0)

PIC S9(4)  USAGE IS BINARY
PIC S9(3)  USAGE IS BINARY
PIC S9(2)  USAGE IS BINARY
PIC S9(1)  USAGE IS BINARY

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014