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 is normalisation?
What is the Purpose of Pointer in the string?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
can we use reference modification an arry.
how many bytes do SPPPP999 will store?
Difference between next and continue clause
How to display the index.(displacement from an array)
I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer
What does EXIT do ?
What are the different forms of EVALUATE statement?
What is the maximum size of a 01 level item in COBOL I? in COBOL II?