As data structures which contain pointers are used at the interface to JCI functions, the option below is required when the COBOL program is compiled:
SOURCE-PROPERTIES=*PAR(STANDARD-DEVIATION=*YES,...)
Under POSIX, this corresponds to the option:
-C PERMIT-STANDARD-DEVIATION=YES
All JCI functions return an integral return value according to ILCS conventions (i.e. in general register R1). To enable this value to be used in the COBOL program, it must be made available in the COBOL special register RETURN-CODE after it has been returned. You can do this as follows:
Specification of the option
SOURCE-PROPERTIES=*PAR(RETURN-CODE=*FROM-ALL-SUBPROGRAMS,...)
or under POSIX
-C ACTIVATE-XPG4-RETURNCODE=YES
or on a targeted basis in the source program by specifying the directive
>>CALL-CONVENTION ILCS-SET-RETURN-CODE
The options apply for the entire source program, the directive only until a >>CALL-CONVENTION
directive with a different value is specified, see “COBOL2000 (BS2000) Reference Manual” [6]).
The module generated must be available in LLM format. When compilation takes place under the BS2000 command line interface, the option below is required for this purpose:
COMPILER-ACTION=*MODULE-GENERATION(MODULE-FORMAT=*LLM,...)
When compilation takes place under POSIX, no corresponding options exists as an LLM is always generated there.