Previous Topic Next topic Print topic


SQLDA-VER

The SQLDA structure used in the program for dynamic SQL statements.
Restriction: This topic applies to Windows environments only.

Syntax:

SQLDA-VER={version}

Parameters:

version
Number to identify type of SQLDA structure used.
0 XDB structure
1 DB2 mainframe (Windows) or standard (UNIX) structure

Properties:

Default: 1

Comments:

Windows: Set SQLDA-VER=1 when mainframe style SQLDA's are used in the program. Also, all SQLDA structures used in the program must use the same structure. They must all be mainframe style or XDB style or an error message is generated.

UNIX: Set SQLDA-VER=0 when using old style XDB SQLDA in a program. All SQLDA structures in a given program can only use one of these structures, not both simultaneously. They must all be the standard SQLDA structure or the old XDB structure - if not, an error message is generated.

Previous Topic Next topic Print topic