Home » Developer & Programmer » Precompilers, OCI & OCCI » Linking MF/COBOL .obj file using Oracle library oraSQL8.lib
Linking MF/COBOL .obj file using Oracle library oraSQL8.lib [message #70907] Sun, 11 August 2002 22:48 Go to next message
Messages: 1
Registered: August 2002
Junior Member
My problem is Linking a cobol application which uses Oracle backend.
Our environment details are

O.S. : Windows NT
RDBMS : Oracle 8.1.6
MF/COBOL : Version 3.2

We are able to use embedded SQL in a COBOL program, precompile it without any problems, Compile it with the MF/COBOL compiler creating .obj file.
Our problem is in the area of linking the program with Oracle run time library, for creation of ".exe" file.

Here i tried linking the program (Using Link.exe) setting the library path (LIB environment variable) as the path in my machine where oraSQL8.lib exists, and while running the Link.exe, the file name to be linked is set as oraSQL8.lib.

But the link fails giving fatal error 'invalid library'
Could you please help me out of this problem?

Thanks & Regards
Re: Linking MF/COBOL .obj file using Oracle library oraSQL8.lib [message #71444 is a reply to message #70907] Sun, 03 November 2002 23:02 Go to previous message
Messages: 13
Registered: February 2002
Junior Member
Dear Mr/Ms Sumitha
My collegues and I read your message.
We have same problem with our application.
Our environment specification is:

Server OS : Windows 2000
Client OS : Windows 98
RDMBS : Oracle v8.1.6
Compiler : MS COBOL V4.5

We are interested to know if you solved yor problem.
Could you Please inform us if you have found any solution?
Previous Topic: pro*c: sqlca.sqlerrd[4] does not work
Next Topic: How to Read Long law In Pro*c,Oracle8.0.5!
Goto Forum:

Current Time: Mon May 27 10:52:41 CDT 2024