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. The following table lists the symbolic values that are legal for version:

Table 2-28: Values for version (dbsetversion)

Value of version

To Indicate

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

See also

dbinit