When cursor is not closed what is the error?

Answer Posted / prabu

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

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

940


In job processing, what happens in execution stage?

699


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

740


What is notcat 2 - gs?

941


Are there any set of rules for the names of the steps used in a job? What are they?

614






How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

720


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

659


What do you understand by the term notcat 2 – gs?

759


How to submit a jcl from cics?

670


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

731


List in order the hierarchical levels of jcl?

670


what is use of dcb parameter in dd statement?

775


How to run cobol program using jcl?

655


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

722


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

673