SQLDA fields

The SQLDA fields have the following meanings:

Field Description
sqldaid An 8-byte character field that contains the string SQLDA as an identification of the SQLDA structure. This field helps in debugging when you are looking at memory contents.
sqldabc A long integer containing the length of the SQLDA structure.
sqln The number of variable descriptors allocated in the sqlvar array.
sqld The number of variable descriptors that are valid (contain information describing a host variable). This field is set by the DESCRIBE statement and sometimes by the programmer when supplying data to the database server.
sqlvar An array of descriptors of type struct sqlvar, each describing a host variable.