Re: Pro*COBOL runtime problem
Date: 27 Sep 1994 16:34:25 GMT
Message-ID: <369hih$krp_at_dcsun4.us.oracle.com>
In article <roleary.780649897_at_lancelot.st.nepean.uws.edu.au>, roleary_at_guinevere.st.nepean.uws.edu.au (Rocqueforte OLeary) writes:
> G'day,
>
> When trying to run one of Oracle's Pro*COBOL sample programs (sample1.pco to
> be precise), I get the following error message:
>
> Load error : file 'SQLADR'
> error code: 173, pc=235, call=1, seg=0
> 173 Called program file not found in drive/directory
>
> The sample program pre-compiles and compiles cleanly, but obviously doesn't
> run. Oracle support weren't much help, so I'm hoping someone knows something
> more than they do [:-)]. We are running v.7.0.16 of the RDBMS, v.1.5.10.1.0 of
> Pro*COBOL and v.1.2 of MF COBOL/2. The "Pro*COBOL supplement to the ORACLE
> Precompilers Guide" mentions that SQLADR is a library sub-routine, but
> beyond that is no use.
>
> Cheers,
> --
> *** Rocqueforte "Rocky" O'Leary *** CSO,DBA,BOFH *** B.App.Sci.(Comp, Hons) ***
> * Work: Uni Of Western Sydney,Nepean, AU * email:roleary_at_st.nepean.uws.edu.au *
> * Tel: 047 360622 *** WWW:http://www.st.nepean.uws.edu.au/~roleary/index.html *
> ***** "Baldrick, you can have a day off when you are dead" ~ E.Blackadder *****
It sounds to me as if you are not using the version of the COBOL runtime system built to
include the Oracle libraries, "rtsora". You have to use this if you are on a platform which
uses dynamaically linked COBOL. Note that you may actually need to rebuild this runtime if
you are using a different version of MF than was used by Oracle when making the release.
You can do that by making the target "rtsora" in the demo makefile.
You probably want to look at the supplemtary information about Pro*COBOL in the TARG - I don't recall the exact title, but it's something like "Oracle for UNIX Tools Administrator Reference Guide". Received on Tue Sep 27 1994 - 17:34:25 CET