When cursor is not closed what is the error?

Answers were Sorted based on User's Feedback



When cursor is not closed what is the error?..

Answer / prabu

-502 The cursor identified in an open statement is
already open.

Is This Answer Correct ?    4 Yes 0 No

When cursor is not closed what is the error?..

Answer / mdvasanth86

No Error.
Program completion closes the Cursor.

Is This Answer Correct ?    1 Yes 1 No

When cursor is not closed what is the error?..

Answer / ramki

We will get sql code -503

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

how can u understand ps and pds from their names ?

1 Answers   TCS,


I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

5 Answers   Bank Of America,


MOD, DELETE; What does a disposition of (,DELETE) mean ?

3 Answers  


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

0 Answers  


how to create a member or sequential dataset through tso command??

4 Answers  






How to send data from cobol program to jcl?

2 Answers   CSC,


What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS utility?

8 Answers   Accenture, TCS,


what is instream data

2 Answers   EDS,


How to delete generations of gdg without deleting gdg base?

3 Answers  


in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths

1 Answers   DELL,


How do you find which GDG is using which dataset?

3 Answers   Patni,


How Can we see all generations of a GDG ?

3 Answers   Polaris,


Categories