Using SYBSETSQLDA

Since definitions of SQLDA fields do not correspond clearly to COBOL declarations, the SYBSETSQLDA function is provided so that you can use familiar COBOL terms. SYBSETSQLDA allows you to set the fields of a Sybase-style SQLDA. It sets the ITEM-NUMBER SQLDA-SQLDATA field of the given SQLDA to point to a given buffer, and sets datafmt fields appropriately.