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.
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:
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.
The ODBC calls an application makes can be traced:
- within the driver manager by an application
- from within the driver manager
- from within the Easysoft ODBC-Sybase Driver
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
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.
LOG = /tmp/sybase.log
The LOG value is the path and file name of the log file (e.g. /tmp/sybase.log).