i tried executing a sample proc code with error handling.
when i printed the members of SQLCA structure i get undefined output only for the following two members.
fprintf(stderr, "SQLCAID: %s --> length: %d\n", sqlca.sqlcaid, strlen(sqlca.sqlcaid));
fprintf(stderr, "SQLABC: %ld\n", sqlca.sqlabc);
as of I know member sqlcaid is a string identifying the literal "SQLCA"
and sqlabc would give the length of the structure,
but i get an empty string for sqlcaid and 0 length indicator for sqlcaid.
could somebody help me with this?
thanks.