Home » Developer & Programmer » Precompilers, OCI & OCCI » doubt in sqlca structure
doubt in sqlca structure [message #156200] Mon, 23 January 2006 09:07
Messages: 24
Registered: November 2005
Junior Member
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?
Previous Topic: Path Problem
Next Topic: Formatter for Pro*C code?
Goto Forum:

Current Time: Wed Aug 04 11:59:25 CDT 2021