Embedded SQL Issues

Known programming issues and workaround, if any, specific to Embedded SQL.

For a list of platforms on which Embedded SQL/C and Embedded SQL/COBOL are available, see the New Features Bulletin SAP Open Server and SDK for SAP ASE 16.0 for Windows, Linux, and UNIX.

Embedded SQL Issues
CR# Description
Precompiler -p option

Workaround: Applications that rely on inserting empty strings instead of NULL strings when the host string variable is empty does not work if the -p option is turned on. The persistent bind implementation prevents Embedded SQL from circumventing Client-Library protocol (which inserts NULL strings).

Embedded SQL/C sample programs

Workaround: When you enter an incorrect password, sample programs example1.pc and example2.pc generate incorrect error numbers. You can ignore these numbers.

Embedded SQL/COBOL sample programs

Workaround:

The shared library path for compiling the sample programs must include %COBDIR%\lib and %SYBASE%\%SYBASE_OCS%\lib. The path must also include %COBDIR%\bin and %SYBASE%\bin.