what is the sqlcode -501

Answers were Sorted based on User's Feedback



what is the sqlcode -501..

Answer / bhaskar reddy

cursor not opened

Is This Answer Correct ?    19 Yes 0 No

what is the sqlcode -501..

Answer / anshuman

cursor identified in fetch or close statement is not opened.

Is This Answer Correct ?    4 Yes 0 No

what is the sqlcode -501..

Answer / chinmay

Must open a cursor before attemptng to fetch from it and
close it.

Is This Answer Correct ?    1 Yes 0 No

what is the sqlcode -501..

Answer / rajesh patnana

cursor is already opened when we are trying to open again

Is This Answer Correct ?    3 Yes 3 No

what is the sqlcode -501..

Answer / venu gopal

closing the already closed cursor

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More DB2 Interview Questions

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

0 Answers  


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

0 Answers  


Generally if I want to select the names starting with c I need to use c% But how could I code to select the data which contains % as a part of data.

5 Answers  


How many Buffer pools are there in DB2 and what are they?

1 Answers   IBM,


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

0 Answers   HeadStrong,


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

2 Answers   IBM,


what is the role of the cursor in db2?

0 Answers  


Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


How can record locking be achieved in those DB2 versions which do not support it?

0 Answers  


what is the differences between spufi and qmf and which is better?

4 Answers   Accenture, Cap Gemini,


What does the CHECK Utility do ?

1 Answers  


What is a root page?

1 Answers  


Categories