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 / 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 |
How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one
What is the default value of DISP parameter?
What is the use of EVALUATE statement?
what is the meaning of pic 9(09)v99-
When can the USING phrase be included in the call statement ?
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Which Search verb is equivalent to PERFORM…VARYING?
what is meaning by design document? who can repared for this?
What is the use of intialize verb?
what are the steps to sort in a cobol program?
in how many mode we can open a file ?