Hi,
I am using Net express 6.0 for Dubugging COBOL Oracle program. When I step through the program in Debug mode, it gives error, "173 Called Program file not found in Drive/Directory SQLADR" . Any one please help he in solving this issue.
Thanks and Regards
N Raajan
#SqladrnetexpressSQLADR is one of the entry points within the Oracle libraries. The error means that the Oracle run-time is not being found.
What type of executable are you trying to debug, .int, .gnt or .exe?
If this is a .exe then you should be linking to the Oracle library ORASQLnn.lib where nn would be the Oracle version number, e.g. ORASQL11.LIB. You should also be setting the LITLINK directive so that these externals we be resolved at link time instead of run-time.
If you are using .int or .gnt then you should be compiling with the directive INITCALL"ORASQLnn" where nn would be the Oracle version number. This will cause the Oracle run-time to be loaded when the application starts. The Oracle folder containing the Oracle run-time must be available within the PATH at run-time.
You can also load the Oracle run-time directly within your starting program using:
01 pp procedure-pointer.
set pp to entry "ORASQLnn"
Hi,
I am using Net express 6.0 for Dubugging COBOL Oracle program. When I step through the program in Debug mode, it gives error, "173 Called Program file not found in Drive/Directory SQLADR" . Any one please help he in solving this issue.
Thanks and Regards
N Raajan
#SqladrnetexpressThank you very much for your reply.
Actually I am trying to debug .int. It is COBOL. I am new to Microfocus enviroment. Can you please tell me where should I set LITLINK? Another question is where should I add the directive INITCALL"ORASQLnn"
Where should I set the PATH?
Hi,
I am using Net express 6.0 for Dubugging COBOL Oracle program. When I step through the program in Debug mode, it gives error, "173 Called Program file not found in Drive/Directory SQLADR" . Any one please help he in solving this issue.
Thanks and Regards
N Raajan
#SqladrnetexpressIf it is .int code then you do not use LITLINK as there is no link step involved with .int code.
Are you using a Net Express project?
What version of the Oracle client are you using?
You can set compiler directives in several places.
If you have multiple executables in your build window and they are all run as separate main programs then you can place INITCALL"ORASQLxx" as a project setting under Project-->Properties-->Project Directives.
If you have a single starting program in your application then you can set the directive directly at the top of the source file starting in column 7.
example if using Oracle 11:
$SET INITCALL"ORASQL11"
PATH can be set at the system level to include the Oracle bin folder or you can set this in the Net Express IDE under Project-->Properties-->IDE button under Environment section.
Example on my system this would be:
PATH
%PATH%;C:\\app\\crg\\product\\11.2.0\\client_1\\bin