dbsetversion

Description

Specify a DB-Library version level.

Syntax

RETCODE dbsetversion(version)
 
DBINT        version;

Parameters

version

The version of DB-Library behavior that the application expects. Table 2-29 lists the symbolic values that are legal for version:

Table 2-29: Values for version (dbsetversion)

Value of version

Indicates

Features supported

DBVERSION_46

4.6 behavior

RPCs, registered procedures, remote procedure calls, text and image datatypes.

This is the default version of DB-Library.

DBVERSION_100

10.0 behavior

numeric and decimal datatypes.

Returns

SUCCEED or FAIL.

Usage

Note

See also

dbinit