Easysoft ODBC-Sybase Driver User Guide - Technical Reference

Technical Reference for the Easysoft ODBC-Sybase Driver

This section contains extra information relating to the deployment of the Easysoft ODBC-Sybase Driver.

Appendix Guide

Restrictions

The Easysoft ODBC-Sybase Driver will allow you to access Sybase ASE databases versions 12.5. and 12.5.1.

Supported API Calls

All the ODBC 3.5 calls are support except for the following:

Threading

The Easysoft ODBC-Sybase Driver is thread safe in accordance with the ODBC 3.5 specification and can be used behind threaded applications with confidence.

Tracing

The ODBC calls an application makes can be traced:

Within the driver manager by an application

An application can turn tracing on in the driver manager via the ODBC API SQLSetConnectAttr (...,SQL_ATTR_TRACE,...).

The trace filename may also be specified with the SQLSetConnectAttr attribute SQL_ATTR_TRACEFILE.

From within the driver manager

For the unixODBC driver manager, add two attributes to the [ODBC] section (create one if none exists) in odbcinst.ini.

Trace = Yes

TraceFile = /path/filename

e.g.

[ODBC]

Trace = Yes

TraceFile = /tmp/sql.log

Ensure that the user who is running the application to be traced has write permission to TraceFile (and to the directory containing it), or no tracing information will be produced.

From within the Easysoft ODBC-Sybase Driver

Add a LOG attribute to the DSN section of the odbc.ini file.

e.g.

[SYBASE]

....

LOG = /tmp/sybase.log

The LOG value is the path and file name of the log file (e.g. /tmp/sybase.log).