SQLDATA

Depending on the data type of the string column that the SQLVAR is describing, the SQLDATA field can contain different CCSID values.

The following table identifies the CCSID values that appear in the SQLDATA field when the SQLVAR element describes a string column.

Table 1. CCSID values for SQLDATA
Data type Subtype Bytes 1 and 2 Bytes 3 and 4
Character SBCS data X'0000' CCSID
Character mixed data X'0000' CCSID
Character BIT data X'0000' X'FFFF'
Graphic N/A X'0000' CCSID
Any other data type N/A N/A N/A