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

what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.

6 Answers   HCL,

What does a disposition of (new,catlg,keep) for a dsn mean?

0 Answers  

How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,

How many extents are possible for a sequential file ? For a VSAM file ?

2 Answers  

wht is the d/f between positional parameter n keyword parameter ?

1 Answers  

can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,

how are instream data terminated?

3 Answers   Tech Mahindra,

Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  

I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)

2 Answers  

how can we override data definitions in jcl. can any one give detailed example

3 Answers   TCS,

What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,

How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

5 Answers   IBM,