Major fields in SQLCA are SQLCODE, SQLERRM, and SQLERRD.