ASA Programming Guide
Embedded SQL Programming
Library function reference
unsigned long sqlda_storage( struct sqlda *sqlda, int varno );
Returns the amount of storage required to store any value for the variable described in sqlda->sqlvar[varno].