0% found this document useful (0 votes)
34 views2 pages

Mainframe-List of Important SQL Codes: February 2008

This document lists important SQL error codes and their meanings. It includes codes for successful operation, end of cursor/row not found, syntax error, string representation errors for dates/times, column not found or object not defined, type mismatch, trying to fetch without opening cursor, DB2 referential integrity errors, authorization problems, duplicate row error, invalid plan errors, more than one row returned, timestamp mismatch, DB2 resource not found, deadlock with and without rollback, and DB2 being down. The publication has 0 citations and 187 reads.

Uploaded by

Sachin Goswami
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Mainframe-List of Important SQL Codes: February 2008

This document lists important SQL error codes and their meanings. It includes codes for successful operation, end of cursor/row not found, syntax error, string representation errors for dates/times, column not found or object not defined, type mismatch, trying to fetch without opening cursor, DB2 referential integrity errors, authorization problems, duplicate row error, invalid plan errors, more than one row returned, timestamp mismatch, DB2 resource not found, deadlock with and without rollback, and DB2 being down. The publication has 0 citations and 187 reads.

Uploaded by

Sachin Goswami
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/339123249

Mainframe-List of Important SQL Codes

Article · February 2008

CITATIONS READS
0 187

1 author:

Bappa Majumdar
Infosys
23 PUBLICATIONS   0 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Mainframe Technologies View project

Mainframe FTP View project

All content following this page was uploaded by Bappa Majumdar on 08 February 2020.

The user has requested enhancement of the downloaded file.


Mainframe-List of Important SQL Codes

Codes: Reason:
00 Successful Operation
+100 End of cursor / Row not found
-104 SQL Syntax Error
-18*(* 1 to 9) String representation of DATE, TIIME, TIMESTAMP Error
-204 Column not found or Object not defined
-205 Column not found
-206 Column does not exist in any table in the SELECT
-30*(* 2 to 9) Type Mismatch
-501 Trying to fetch without opening the cursor
-530 to –542 DB2 referential integrity Error
-551 DB2 authorization problem
-803 Duplicate row error
-805 Invalid Plan. DBRM or PACKAGE not found in PLAN
-811 More than 1 row returned
-818 Timestamp mismatch between plan and load module
-904 DB2 Resources not found
-911 Deadlock with rollback
-913 Deadlock without rollback
-923 DB2 is down

View publication stats

You might also like