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


Current Time: Fri Aug 29 11:44:58 CDT 2014

Total time taken to generate the page: 0.06755 seconds