Defines the SQLDA structure in an Embedded SQL program.
exec sql include sqlda;
exec sql include sqlda;
...
SQLDA *input_descriptor, *output_descriptor;
CS_SMALLINT small;
CS_CHAR character[20];
input_descriptor = (SQLDA *)malloc(SYB_SQLDA_SIZE(3));
input_descriptor->sqlda_sqln = 3;
output_descriptor = (SQLDA *)malloc(SYB_SQLDA_SIZE(3));
output_descriptor->sqlda_sqln = 3;
The include sqlda statement can be used anywhere that host language declarations are allowed.