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
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.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Why did you choose to work with ibm mainframe cobol programming?
Are you comfortable in cobol or jcl?
What is the LINKAGE SECTION used in COBOL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
For rewrite, why is it mandatory that file needs to be opened?
What is inspect in cobol ?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How do you differentiate between cobol and cobol-ii?
Difference between array and sub-script ?
What is cobol?