An integer (INT) is a 4-byte integer SQL data type.
01 longint1 PIC S9(9) COMP. 01 longint2 PIC X(4) COMP-5. 01 longint3 PIC S9(9) COMP-5. 01 longint4 PIC X(4) COMP-X. 01 longint5 PIC 9(9) COMP-X. 01 longint6 PIC S9(9) BINARY.
For the most efficient access, we recommend that you declare integers as COMP-5.
01 longint9 binary-long.