What type of Call you would use if you don;t want the
control back to the calling program?
Answers were Sorted based on User's Feedback
Answer / lvrajesh
After going thru manuals I believe coding a STOP RUN instead
of GO BACK will give the control directly to the OS.
Correct me if I am wrong.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / balaji
Hi,
Please correct me if I am wrong..
I think u can give any call Static/Dynamic because these
CALL just tells how the calling program to be
invoked...during compile time or at the runtime...but if u
give Stop run in your called program it will automatically
give the control back to the OS and not to the calling
program unlike GOBACK which returns the control back to
calling pgm..
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / lvrajesh
Hi Menaka,
Can you please explain more about using 'CHAIN' possibly using an example.
Thanks
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / lvrajesh
Hi Menaka,
Thanks for your answer. I believe you're answer is correct
after referring M.K. Roy book.
But I have a doubt,in the book it has been listed under
'COBOL for Personal Computers' so whether it applies to
Mainframe Cobol(VS Cobol II/Enterprise COBOL) usage. I
referred some IBM manuals and not able to find it.
Please let me know if you have you used it.
Appreciate your inputs.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / lr
@vaduguru
Thanks for answering.
But the question is in COBOL CALL.
Since, I posted under COBOL question list, I didn't
mentioned it explicitly in the question.
I was really curious to answer to this.
Is This Answer Correct ? | 0 Yes | 1 No |
what will happen if i give program name and member name as different? program runs successful or w'll abend?
A table has two indexes defined. Which one will be used by the SEARCH?
In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.
wht do u mean by (*,intrdr) wht is * used for ?
Give some advantages of REDEFINES clause?
Write down the divisions of cobol program?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
what is SYNCHRONIZATION?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
When and how can we use index & subscript ?
What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......
how to refer the data field?