ODBCU_CONLIB (obsolete)

Description

Specifies whether EAServer establishes an ODBC connection cache in ANSI or Unicode mode.

This parameter applies only when a PowerBuilder custom class user object is deployed to EAServer.

Obsolete parameter

ODBCU_CONLIB parameter is obsolete, because EAServer is no longer supported since PowerBuilder 2017.

Applies to

ODBC

Syntax

ODBCU_CONLIB =value

Parameter

Description

value

Specifies whether EAServer establishes an ODBC connection cache in ANSI or Unicode mode. Values are:

  • 0

    (Default) Establish a connection in ANSI mode

  • 1

    Establish a connection in Unicode mode


Default value

ODBCU_CONLIB=0

Usage

Set this parameter to 1 to specify that the EAServer JAG_CM_CONLIB connection cache property should be set to ODBCU to establish an ODBC connection in Unicode mode.

Examples

To specify that you want a Unicode connection cache:

  • Database profile

    Select the Enable Unicode Connection check box on the EAServer/COM+ page of the Database Profile Setup dialog box.

  • Application

    Type the following in code:

    SQLCA.DBParm="ODBCU_CONLIB=1"