Dear All,
I am running a COBOL program (ptptedit.cbl) for Windows in RDZ V7.6 using Oracle database. All the calls in the program are rewritten using call identifier; one example is as shwon below.
Code:
MOVE 'C_SQLCNC' TO W-WK-PROGRAM-NAME
CALL W-WK-PROGRAM-NAME USING SQL-CURSOR
DBTYPE OF SQL
ACCESS-DATA OF SQLRT
OPRID OF SQLRT
BATCH-RUN-ID OF SQLRT
OWNERID OF SQLRT
The oracle environment is setup properly and 'SQLPLUS' command gives oracle dialog asking for username and password. The program is compiled using the below command.
Code:
cob2 -v -dynam ptptedit.cbl
It passes the compile and link-edit creates the .exe file. However I am getting run-time error as shown below.
Code:
IWZ096C Dynamic call of program C_SQLCNC failed. The load module C_SQLCNC.dll
could not be found in the directories identified in the COBPATH
environment variable.
iwzrlib.dll : 0
iwzrlib.dll : 0
iwzrlib.dll : 0
PTPSQLRT.dll : 0
PTPTEDIT.exe : 0
iwzrlib.dll : 0
PTPTEDIT.exe : 0
kernel32.dll : 0
IWZ901S Program exits due to severe or critical error.
The COBPATH environment points to library folder which contains the .lib files. There is no program named 'C_SQLCNC' or 'C_SQLCNC.dll' and these are database related calls. Can anyone please help me out?
Regards,
Jay
SystemAdmin