preprocessing CZIVALID.cob into CZIVALID.i
CZIVALID.cob:3: Warning: AUTHOR is
obsolete in IBM COBOL for MVS & VM
translating CZIVALID.i into CZIVALID.c
CZIVALID.cob:37: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:41: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:44: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:78: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:90: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:340: Warning: 'GLOBAL'
not implemented
CZIVALID.cob: In paragraph '9000-TERM':
CZIVALID.cob:822: Warning: IF statement
not terminated by END-IF
gcc -fPIC -maix64 -pipe -c -I/public/dev/pm/jag/opencobol/local/include
-L/public/dev/pm/jag/opencobol/local/lib -fsigned-char -o
CZIVALID.o CZIVALID.c
gcc -fPIC -maix64 -pipe -o CZIVALID
CZIVALID.o /db01/oracle/92/precomp/lib/cobsqlintf.o -L/public/dev/pm/jag/opencobol/local/lib
-lcob -lm -lgmp -ldl -L/db01/oracle/92/lib -lclntsh
For the module, I had to put the $ORACLE_HOME/precomp/lib/cobsqlintf.o
-L$ORACLE_HOME/lib -lclntsh statements in the COB_CFLAGS environment variable.
With the statements on the command line, cobc did not get the statements
included in the gcc command.
preprocessing CZIVALID.cob into CZIVALID.i
CZIVALID.cob:3: Warning: AUTHOR is
obsolete in IBM COBOL for MVS & VM
translating CZIVALID.i into CZIVALID.c
CZIVALID.cob:37: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:41: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:44: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:78: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:90: Warning: 'GLOBAL'
not implemented
CZIVALID.cob:340: Warning: 'GLOBAL'
not implemented
CZIVALID.cob: In paragraph '9000-TERM':
CZIVALID.cob:823: Warning: IF statement
not terminated by END-IF
gcc -fPIC -maix64 -pipe -I/public/dev/pm/jag/opencobol/local/include
-L/public/dev/pm/jag/opencobol/local/lib -lcob -lm -lgmp -ldl
/db01/oracle/92/precomp/lib/cobsqlintf.o
-L/db01/oracle/92/lib -lclntsh -fsigned-char -shared -DPIC -o
CZIVALID.so CZIVALID.c
I ended up not having to include the oracle modules in
the cobcrun executable.
Thank you for helping me to end my week and half long
struggle.
Cris Schlehuber