Loading...
Select Version
In this example, the COBOL source program resides in the LMS library SRC.LIB
, but the JCI-COPY elements in the POSIX directory /myjava/include
.
Consequently the following commands are required for compilation:
/DECL-VAR SYSIOL-COBLIB,INIT='*POSIX(/myjava/include)', SCOPE=*TASK /START-COBOL2-COMP SO=*LIB(SRC.LIB,HELLO.COB), SOURCE-PROPERTIES=*PAR(ST-DEV=*YES), COMPILER-ACTION=*MOD-GEN(MOD-FORM=*LLM), MODULE-OUTPUT=*LIB(MOD.LIB,HELLO), RUNTIME-OPTIONS=*PARAMETERS(ENABLE-UFS-ACCESS=*YES)