Introduction - If you have any usage issues, please Google them yourself
The SQLCA provide the error code can be referenced the SQLCA test specific error code. When a database request error, sqlcode and sqlstate field contains the error code. Some C macros for referencing the sqlcode field, sqlstate field and some other fields defined.