You would use either the LITLINK directive or the INITCALL"ORASQL11" directive but not both. If you are linking to the library C:\app\rg1899\product\11.2.0\client_1\precomp\lib\orasql11.lib then you need to add the LITLINK directive to your compile. If you are not linking to the POracle library then you need to add the INITCALL"ORASQL11" directive to your compile. Where you add compiler directives depends on your current method of building. If you are using a Net Express project then you can add these under Project-- Properties in the compiler directives box. If you are building from the command line using a .bat file then these might be in a directives file like cobol.dir or you might be specifying them on the command line. You should currently have directibves that turn on procobol support that look like the following. You can add the new directive to the same location. Example: p(cobsql) CSQLT=ORACLE8 MAKESYN VERBOSE KEEPCBL END-C ENDP litlink; or p(cobsql) CSQLT=ORACLE8 MAKESYN VERBOSE KEEPCBL END-C ENDP initcall"orasql11";
↧
Forum Post: RE: Error 173 called program file not found in drive / directory SQLADR avec Oracle 11g
↧