<s>
SQL	B-Application
Return	I-Application
Codes	I-Application
are	O
used	O
on	O
a	O
day-to-day	O
basis	O
for	O
the	O
diagnosis	O
of	O
programming	O
failures	O
as	O
a	O
result	O
of	O
SQL	B-Language
calls	O
by	O
IBM	B-Application
Db2	I-Application
programs	O
.	O
</s>
<s>
An	O
important	O
feature	O
of	O
IBM	B-Application
Db2	I-Application
programs	O
is	O
the	O
error	O
processing	O
.	O
</s>
<s>
The	O
error	O
diagnostic	O
containing	O
the	O
SQL	B-Language
Return	O
Code	O
is	O
held	O
in	O
the	O
field	O
SQLCODE	B-Application
within	O
the	O
Db2	B-Application
SQLCA	B-Application
block	O
.	O
</s>
<s>
SQLCODE	B-Application
is	O
no	O
longer	O
part	O
of	O
the	O
SQL-standard	O
.	O
</s>
<s>
The	O
SQL-standard	O
replaced	O
SQLCODE	B-Application
by	O
the	O
more	O
detailed	O
SQLSTATE	B-Language
.	O
</s>
<s>
The	O
SQL	B-Language
communications	O
area	O
(	O
SQLCA	B-Application
)	O
structure	O
is	O
used	O
within	O
the	O
IBM	B-Application
Db2	I-Application
program	O
to	O
return	O
feedback	O
to	O
the	O
application	B-Application
program	I-Application
.	O
</s>
<s>
The	O
SQLCODE	B-Application
field	O
contains	O
the	O
SQL	B-Language
return	O
code	O
.	O
</s>
<s>
Negative	O
values	O
indicate	O
an	O
unsuccessful	O
execution	O
with	O
an	O
error.An	O
example	O
is	O
-911	O
,	O
which	O
means	O
that	O
a	O
timeout	O
has	O
occurred	O
with	O
a	O
rollback	B-Application
.	O
</s>
<s>
Here	O
is	O
a	O
more	O
comprehensive	O
list	O
of	O
the	O
SQLCODEs	B-Application
for	O
DB2	B-Application
.	O
</s>
<s>
Also	O
note	O
that	O
some	O
SQLCODEs	B-Application
may	O
only	O
occur	O
in	O
specific	O
Db2	B-Application
products	O
;	O
e.g.	O
,	O
only	O
on	O
Db2z/OS	O
,	O
only	O
on	O
Db2LUW	O
,	O
or	O
only	O
on	O
Db2	B-Application
for	O
IBM	B-Application
i	I-Application
.	O
</s>
<s>
-007	O
The	O
specified	O
'	O
character	O
 '	O
is	O
not	O
a	O
valid	O
character	O
in	O
SQL	B-Language
statements	O
.	O
</s>
<s>
-060	O
INVALID	O
type	O
SPECIFICATION	O
:	O
spec	O
-084	O
Unacceptable	O
SQL	B-Language
statement	O
.	O
</s>
<s>
-104	O
Illegal	O
symbol	O
encountered	O
in	O
the	O
SQL	B-Language
statement	O
.	O
</s>
<s>
-203	O
A	O
REFERENCE	O
TO	O
COLUMN	O
column-name	O
IS	O
AMBIGUOUS	O
-204	O
Object	O
not	O
defined	O
to	O
Db2	B-Application
.	O
</s>
<s>
-289	O
Db2	B-Application
is	O
running	O
out	O
of	O
space	O
in	O
tablespace	O
-302	O
THE	O
VALUE	O
OF	O
INPUT	O
VARIABLE	O
OR	O
PARAMETER	O
NUMBER	O
position-number	O
IS	O
INVALID	O
OR	O
TOO	O
LARGE	O
FOR	O
THE	O
TARGET	O
COLUMN	O
OR	O
THE	O
TARGET	O
VALUE	O
-303	O
A	O
VALUE	O
CANNOT	O
BE	O
ASSIGNED	O
TO	O
OUTPUT	O
HOST	O
VARIABLE	O
NUMBER	O
position-number	O
BECAUSE	O
THE	O
DATA	O
TYPES	O
ARE	O
NOT	O
COMPARABLE	O
-305	O
Null	O
indicator	O
needed	O
.	O
</s>
<s>
-404	O
The	O
Sql	B-Language
Statement	O
specified	O
contains	O
a	O
String	O
that	O
is	O
too	O
long	O
.	O
</s>
<s>
-804	O
Error	O
in	O
input	O
parameters	O
for	O
the	O
SQL	B-Language
statement	O
.	O
</s>
<s>
Rollback	B-Application
has	O
been	O
done	O
.	O
</s>
<s>
No	O
rollback	B-Application
.	O
</s>
<s>
-924	O
Db2	B-Application
Connection	O
internal	O
error	O
.	O
</s>
<s>
-970	O
wrong	O
(	O
also	O
missing	O
)	O
permissions	O
on	O
Db2	B-Application
file	O
systems	O
/	O
Db2	B-Application
filesystems	O
owned	O
by	O
root	O
.	O
</s>
<s>
+98	O
A	O
dynamic	O
SQL	B-Language
statement	O
ends	O
with	O
a	O
semicolon	O
+100	O
Row	O
not	O
found	O
or	O
end	O
of	O
cursor	O
.	O
</s>
