If a sub program is called from mainprogram.I have opened
cursor in main program and Fetch the result in
subprogram ,Is it possible ?If yes please tell me the
reason.
Answer Posted / shruti
The scope of cursor-name is the source program in which it is defined; that is, the application program submitted to the precompiler. Thus, you can only refer to a cursor by statements that are precompiled with the cursor declaration. For example, a COBOL program called from another program cannot use a cursor that was opened by the calling program
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to know whether the module is dynamical or statistical?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
In COBOL, what is the different between index and subscript?
What are the pertinent COBOL
How do you reference the fixed block file formats from cobol programs
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Write a cobol program making use of the redefine clause.
What are the different types of condition in cobol and write their forms.
What is the difference between goback, stop run and exit program in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is the difference between PIC 9.99 and PIC9v99?
For rewrite, why is it mandatory that file needs to be opened?
Name the divisions, which are available in a cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue