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/product/11.2.0.3/dbhome_2/lib/ /oracle/app/oracle/product/11.2.0.3/dbhome_1/precomp/lib/cobslqintf.o -lclntsh `cat /oracle/app/oracle/product/11.2.0.3/dbhome_2/lib/ldflags`   `cat /oracle/app/oracle/product/11.2.0.3/dbhome_2/lib/sysliblist` -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/workarea/cobol/pa
*** 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/product/11.2.0.3/dbhome_2/lib/ /oracle/app/oracle/product/11.2.0.3/dbhome_1/precomp/lib/cobslqintf.o -lclntsh `cat /oracle/app/oracle/product/11.2.0.3/dbhome_2/lib/ldflags`   `cat /oracle/app/oracle/product/11.2.0.3/dbhome_2/lib/sysliblist` -laio  -lposix4  -lm  -lthread
* Ignored  - NESTCALL
cob32: error opening: /oracle/app/oracle/product/11.2.0.3/dbhome_1/precomp/lib/cobslqintf.o
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /pssource/ps11gtest/workarea/cobol/pa
*** 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

ams42870Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
WOW, haven't seen COBOL since the early 90's!!!  That brings back some memories...

>>cob32: error opening: /oracle/app/oracle/product/11.2.0.3/dbhome_1/precomp/lib/cobslqintf.o

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)?
0
ams42870Author Commented:
Yes the file exists .  And I will check the owner on that file.
0
Mark GeerlingsDatabase AdministratorCommented:
I've never worked directly with COBOL, but I do remember interfaces from the mid-90s where I worked on the Oracle side (on VMS then) of the interface, and someone else handled the COBOL side of the problem.

If it helps you feel any better, in my experience in Oracle systems, the most difficult part of setting up a system is getting the networking configured correctly.  Just one missing or mis-placed character in the configuration files that Oracle uses (usually: listener.ora and tnsnames.ora) is enough to prevent the connection from working.

I don't know what kind of networking client or interface your system will use to connect to Oracle, but is there any possibility of an error in that configuration?  Or, do you have a way to test that configuration outside of this COBOL program?

In case you can't get your system to talk directly with Oracle, we used an interfacing program some years ago to connect VMS to Oracle on Windows.  That product was called CONNX.  It also supported connections to UNIX, Linux, and other systems, plus other databases.  Try: www.connx.com to see if they are still in business.  Their product worked very well for us, and their technical support was the best technical support I've encountered.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.