Compiler options
When compiling source files of a IBM COBOL application, the following options should always be used:
-cax -cv -cva
In addition, depending on the way you need COMP fields to be represente, one of these two options should be used:
-dci
Use IBM sign encoding and IBM COMP sizes. COMP sizes are 1, 2, 4, 8, 12 or16 depending on the item picture.
See USAGE clause for details about how numeric data items are affected by this option.
-dcii
Use IBM sign encoding and IBM COMP sizes. COMP sizes are 2, 4, 8 or16 depending on the item picture.
See USAGE clause for details about how numeric data items are affected by this option.