ASA Programming Guide
Embedded SQL Programming
Library function reference
struct sqlda * fill_sqlda( struct sqlda * sqlda );
Allocates space for each variable described in each descriptor of sqlda, and assigns the address of this memory to the sqldata field of the corresponding descriptor. Enough space is allocated for the database type and length indicated in the descriptor. Returns sqlda if successful and returns the null pointer if there is not enough memory available.