Release

Description

Specifies what version of Sybase Open Client Client-Library (CT-Lib) software is in use on the client workstation.

NoteWhen to specify Release You must specify a value for Release before connecting to the database.

Applies to

Syntax

Release = 'value'

Parameter

Description

value

Specifies the version of Open Client Client-Library your application uses.

The value corresponds to the value of the CS_VERSION property that is used to allocate a context structure for the client. Multiple values that specify the same client context are provided for backwards compatibility. Values are:

  • 10.x CS_VERSION_100

  • 11 CS_VERSION_110

  • 11.5 CS_VERSION_110

  • 12 CS_VERSION_110

  • 12.5 CS_VERSION_125

  • 12.5.1 CS_VERSION_125

  • 15 CS_VERSION_15

Default

Release='11'

Usage

The Release parameter must correspond to the version of Open Client software installed on the client workstation. For example, do not specify 12.5 or 12.5.1 if your Open Client version is 12.0, even if your Adaptive Server version is 12.5 or 12.5.1.

To use Adaptive Server 15, you must install Open Client version 15 on the client computer and set the Release parameter to 15 to establish an Open Client 15 client context.

The Open Client context is allocated by the first PBSYC105.DLL database connection. This context acts as the parent context for all subsequent PBSYC105.DLL connections. Therefore, you must specify the same value for the Release parameter for all your connections.

The SYC driver links to the appropriate version of the client libraries dynamically and the Open Client context is released when all connections are closed. If you open multiple connections, the first Open Client context established is used for all of them. If you need to establish a new Open Client context in the development environment, close all open connections and establish a new connection with the Release parameter set to the context you require.

During each database login, PBSYC105.DLL automatically determines the version of Adaptive Server being accessed. It customizes its behavior to optimize performance and features for the combination of the Adaptive Server version and the Open Client context specified in the Release parameter. Specifying a value for Release that does not correspond to the Open Client software on the client can cause unpredictable results.

The values 12.5 and 12.5.1 both open an Open Client 12.5 context. However, you should always specify Release='12.5' if you are using Open Client 12.5 and Release='12.5.1' if you are using Open Client 12.5.1. This ensures that PBSYC105.DLL correctly handles the following scenarios that require Open Client 12.5.1 and Adaptive Server 12.5.1:

DataWindow retrieval, insert, update, and delete processing work correctly against Date and Time datatypes using any Open Client software and Adaptive Server 12.5.1. In the Database painter, the Date and Time datatypes display in the list of metadata types when you are connected to an Adaptive Server 12.5.1 server in any Open Client context.

Certain other features are supported only when you access a specified version of a SQL Server 10/11 or Adaptive Server Enterprise database using its associated Open Client software. For example, you must:

Examples

Example 1

To specify that your DataWindow Designer application accesses an Adaptive Server Enterprise 15 database using an Open Client Client-Library 15 context: