.ig >>
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>shsql: </title>
<body bgcolor=99cc99 vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550 ><tr>
<td align=right><a href="shsql_home.html">
<img src="img/shsql.gif" border=0><br><small>SQL database system</a> &nbsp; </td></tr>
<td>
.>>

.TH  TDH "18-MAR-2004   TDH scg@jax.org" 

.SH Common error codes

.LP
Applications should check the status of every submitted SQL command.
Some error conditions (as noted below) do not result in an error message.

.ig >>
<br><br><br>
.>>

.LP
\fB0\fR  success.
.LP
\fB1\fR  requested record not found.  No message is issued.
.LP
\fB7\fR  
.ig >>
<a href="recordlocking.html">
.>>
\0record locked
.ig >>
</a>
.>>
by another identity and unavailable for update.  No message is issued.
This code may be returned by \fCSHSQL_sql()\fR when a
\fCUPDATE\fR or \fCDELETE\fR command is submitted, and by
\fCSHSQL_getrow()\fR when \fCSELECT..FOR UPDATE\fR encounters a locked row.
.LP
\fB9\fR 
.ig >>
<a href="tablelocking">
.>>
\0the table is write-locked
.ig >>
</a>
.>>
and the process couldn't gain access.
This code may be returned by \fCSHSQL_sql()\fR when an \fCINSERT\fR,
\fCUPDATE\fR, \fCDELETE\fR or \fCSELECT..FOR UPDATE\fR command is submitted.
.LP
\fB20\fR  attempt to update a database that has been set to 
.ig >>
<a href="config.html#dbreadonly">
.>>
\0read-only.
.ig >>
</a>
.>>
This code may be returned by \fCSHSQL_sql()\fR when an \fCINSERT\fR,
\fCUPDATE\fR, \fCDELETE\fR or \fCSELECT..FOR UPDATE\fR command is submitted.

.LP
\fBOther\fR - see the error message text.


.ig >>
<br>
<br>
</td></tr>
<td align=right>
<a href="shsql_home.html">
<img src="img/shsql.gif" border=0></a><br>
<a href="Copyright.html">Copyright Steve Grubb</a> &nbsp;
</td></tr>
</table>
.>>


