ams42870
asked on
cob32: error opening: cobsqlintf.o
I am trying to link a COBOL program that uses Oracle. Everything is good up until it tries to link the object. I get the following below:
cob -C IBMCOMP -C NESTCALL -t -x -a -o ./R9004 R9004.cbl -L/oracle/app/oracle/produ ct/11.2.0. 3/dbhome_2 /lib/ /oracle/app/oracle/product /11.2.0.3/ dbhome_1/p recomp/lib /cobslqint f.o -lclntsh `cat /oracle/app/oracle/product /11.2.0.3/ dbhome_2/l ib/ldflags ` `cat /oracle/app/oracle/product /11.2.0.3/ dbhome_2/l ib/syslibl ist` -laio -lposix4 -lm -lthread
* Ignored - NESTCALL
*1502-U
Open fail : 'R9004.cbl'
cob32: error(s) in compilation: R9004.cbl
*** Error code 16
make: Fatal error: Command failed for target `build'
Current working directory /pssource/ps11gtest/workar ea/cobol/p a
*** Error code 1
make: Fatal error: Command failed for target `R9004'
/usr/ccs/bin/make -f cobol.mk build COBS=R9004.cbl EXE=R9004
cob -C IBMCOMP -C NESTCALL -t -x -a -o ./R9004 R9004.cbl -L/oracle/app/oracle/produ ct/11.2.0. 3/dbhome_2 /lib/ /oracle/app/oracle/product /11.2.0.3/ dbhome_1/p recomp/lib /cobslqint f.o -lclntsh `cat /oracle/app/oracle/product /11.2.0.3/ dbhome_2/l ib/ldflags ` `cat /oracle/app/oracle/product /11.2.0.3/ dbhome_2/l ib/syslibl ist` -laio -lposix4 -lm -lthread
* Ignored - NESTCALL
cob32: error opening: /oracle/app/oracle/product /11.2.0.3/ dbhome_1/p recomp/lib /cobslqint f.o
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /pssource/ps11gtest/workar ea/cobol/p a
*** Error code 1
make: Fatal error: Command failed for target `R9004'
rm: R9004.sdb: No such file or directory
rm: R9004.trc: No such file or directory
cob -C IBMCOMP -C NESTCALL -t -x -a -o ./R9004 R9004.cbl -L/oracle/app/oracle/produ
* Ignored - NESTCALL
*1502-U
Open fail : 'R9004.cbl'
cob32: error(s) in compilation: R9004.cbl
*** Error code 16
make: Fatal error: Command failed for target `build'
Current working directory /pssource/ps11gtest/workar
*** Error code 1
make: Fatal error: Command failed for target `R9004'
/usr/ccs/bin/make -f cobol.mk build COBS=R9004.cbl EXE=R9004
cob -C IBMCOMP -C NESTCALL -t -x -a -o ./R9004 R9004.cbl -L/oracle/app/oracle/produ
* Ignored - NESTCALL
cob32: error opening: /oracle/app/oracle/product
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /pssource/ps11gtest/workar
*** Error code 1
make: Fatal error: Command failed for target `R9004'
rm: R9004.sdb: No such file or directory
rm: R9004.trc: No such file or directory
ASKER
Yes the file exists . And I will check the owner on that file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>cob32: error opening: /oracle/app/oracle/product
Does that file exist?
Does the user trying the compile have access to it?
If the file doesn't exist, did you install Pro*COBOL (or whatever they call it these days)?