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 |
What guidelines should be followed to write a structured cobol prgm?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is XDC ?
How is sign stored in a comp-3 field?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is internal sort and external sort ? which is preferable ?
Name the sections present in data division.
how to change picture class of copy book variable inside program?
What is Control Break processing ?
i want to store 20 digits . h will u do it in cobol ?
01 a pic s9(5) value '-12345' how it will be stored
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.