Previous Topic Next topic Print topic


SQLCA Structure For PL/I

Restriction: This topic applies to Windows environments only.

The SQLCA structure for PL/I is as follows:

dcl
   1 sqlca,
     2 sqlcaid    char(8),
     2 sqlcabc    fixed bin(31),
     2 sqlcode    fixed bin(31),
     2 sqlerrm    char(70) varying,
     2 sqlerrp    char(8),
     2 sqlerrd(6) fixed bin(31),
     2 sqlwarn,
       3 sqlwarn0 char(1),
       3 sqlwarn1 char(1),
       3 sqlwarn2 char(1),
       3 sqlwarn3 char(1),
       3 sqlwarn4 char(1),
       3 sqlwarn5 char(1),
       3 sqlwarn6 char(1),
       3 sqlwarn7 char(1),
     2 sqlext,
       3 sqlwarn8 char(1),
       3 sqlwarn9 char(1),
       3 sqlwarna char(1),
       3 sqlstate char(5);
Previous Topic Next topic Print topic