r sqlstate[5];
} sqlca;</PRE
><P>
    (In a multithreaded program, every thread automatically gets its
    own copy of <TT
CLASS="VARNAME"
>sqlca</TT
>.  This works similarly to the
    handling of the standard C global variable
    <TT
CLASS="VARNAME"
>errno</TT
>.)
   </P
><P
>    <TT
CLASS="VARNAME"
>sqlca</TT
> covers both warnings and errors.  If
    multiple warnings or errors occur during the execution of a
    statement, then <TT
CLASS="VARNAME"
>sqlca</TT
> will only contain
    information about t