what are the SQL codes u freequently got?

Answers were Sorted based on User's Feedback



what are the SQL codes u freequently got?..

Answer / girish kumar

805- Token not found.
806- LOad module not found.
S013-18- Member not found.
502 - cursor not closed.
922- Authorization failed.
818 - Time stamp mismatch.
811 - Cursor not declared.
911- Dead lock
305 - Null indicator not defined.
311 - Length is not given for Var char.
S322 - Time out error.
S122 - Job canceled by the operator.
S222 - Operator cancel the job and doesn't request for dump
200 - Host variables not created.
204 - Table already crated.
551 - ID has no privileges to access the table.
803 - Index violation.

Is This Answer Correct ?    2 Yes 0 No

what are the SQL codes u freequently got?..

Answer / krishnan

-805 program is not present in the plan.
u need to compile,package and plan the program once

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

Which transaction use a command thread ?

1 Answers  


Mention the location where the output received from explain statement is stored.

0 Answers  


What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?

3 Answers  


what is differnece between DROP TABLE & DELETE TABLE .

4 Answers   Cap Gemini,


when we are trying to update db2 rows. if the program abends . how we will know that the last successful update row was

5 Answers   IBM,






How to resolve deadlock issue

5 Answers   IBM,


Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.

1 Answers  


is it possible to get -811 error when you use cursors. why?

2 Answers   IBM,


What is the function of buffer manager?

1 Answers  


How many buffer pools are available in db2?

2 Answers  


What is a db2 collection?

0 Answers  


cobol-db2 runjcl please?

2 Answers   DELL,


Categories