ASA SQL User's Guide
Server Classes for Remote Data Access
ODBC-based server classes
A server with server class aseodbc is Adaptive Server Enterprise, SQL Server (version 10 and later). Adaptive Server Anywhere requires the installation of the Adaptive Server Enterprise ODBC driver and Open Client connectivity libraries to connect to a remote Adaptive Server with class aseodbc. However, the performance is better than with the asejdbc class.
Open Client should be version 11.1.1, EBF 7886 or above. Install Open Client and verify connectivity to the Adaptive Server before you install ODBC and configure Adaptive Server Anywhere. The Sybase ODBC driver should be version 11.1.1, EBF 7911 or above.
Configure a User Data Source in the Configuration Manager with the following attributes:
Under the General tab:
Enter any value for Data Source Name. This value is used in the USING clause of the CREATE SERVER statement.
The server name should match the name of the server in the Sybase interfaces file.
Under the Advanced tab, check the Application Using Threads box and check the Enable Quoted Identifiers box.
Under the Connection tab:
Set the charset field to match your Adaptive Server Anywhere character set.
Set the language field to your preferred language for error messages.
Under the Performance tab:
Set Prepare Method to "2-Full."
Set Fetch Array Size as large as possible for best performance. This increases memory requirements since this is the number of rows that must be cached in memory. Sybase recommends using a value of 100.
Set Select Method to "0-Cursor."
Set Packet Size to as large as possible. Sybase recommends using a value of -1.
Set Connection Cache to 1.
Data type conversions: ODBC and Adaptive Server Enterprise