SQLDA-VER

The SQLDA structure used in the program for dynamic SQL statements.

Syntax:

SQLDA-VER={version}

Parameters:

version
Number to identify type of SQLDA structure used.
0 XDB structure
1 DB2 mainframe structure

Properties:

Default: 1

Comments:

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.