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 S04E error in jcl?
11 Answers IBM, L&T,
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.
What is the difference between goback, stop run and exit program in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
how to crack cts interview apps? NOVEMBER 21 2010
How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
how can we get current dat and time thru cobol pgm
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
can we read in input the file with a variable length ? please , how ..could you help me ?
88 class is used for