Home | Mainframe Wiki | Free Downloads | Sample Programs | More References | Mainframe Forum

IBMMainframes.com

Quick References for IBM Mainframe Programming

COBOL SQLCA VARIABLES

 

COBOL SQLCA VARIABLES

 

01 SQLCA.
     05 SQLCAID PIC X(8).
     05 SQLCABC PIC S9(9) COMP-4.
     05 SQLCODE PIC S9(9) COMP-4.
     05 SQLERRM.
           49 SQLERRML PIC S9(4) COMP-4.
           49 SQLERRMC PIC X(70).
     05 SQLERRP PIC X(8).
     05 SQLERRD OCCURS 6 TIMES PIC S9(9) COMP-4.
     05 SQLWARN.
        10 SQLWARN0 PIC X.
        10 SQLWARN1 PIC X.
        10 SQLWARN2 PIC X.
        10 SQLWARN3 PIC X.
        10 SQLWARN4 PIC X.
        10 SQLWARN5 PIC X.
        10 SQLWARN6 PIC X.
        10 SQLWARN7 PIC X.
     05 SQLEXT.
        10 SQLWARN8 PIC X.
        10 SQLWARN9 PIC X.
        10 SQLWARNA PIC X.
        10 SQLSTATE PIC X(5).
 

Copyright 2003-2016 IBMMAINFRAMES.com All rights Reserved.

Home | Mainframe Wiki | Free Downloads | Sample Programs | More References | Mainframe Forum