Skip to main content

Problem:

Using Oracle 11 client, when executing an application, error RTS173 is displayed when calling the SQLGLM function.

Using Oracle 9 client, the application works fine.

Resolution:

The SQLGLM function is used to obtain the full text of an Oracle error.

With Oracle procob version 8, the call via the CALL verb of the DLL was inserted as the first instruction.
 
With Oracle procob version 11, the call via the CALL verb of the DLL is inserted before the processing of the first SQL CONNECT instruction.
 
In this case then you must:
EITHER

-       insert CALL 'ORASQL8' before the call

OR

-       compile with directive INITCALL (ORASQL8.DLL)