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
Give some examples of command terminators?
Write a program that uses move corresponding.
What are the rules of the move verb?
what is amode(24), amode(31), rmode(24) and rmode(any)?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the compute verb? How is it used?
Write a cobol program making use of the redefine clause.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how can i see junk values in dclgen or in hostvariable of comp ?
What is the difference between comp and comp-3 usage?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How do get the result of your program directly on your pc?
example for sub strings ? and refernce modifications whit output pls
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is amode(24)?