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 label record is standard or omitted in file description of data division?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
88 class is used for
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
How many variables can be declared in w-s section.?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
can internal sort be applied to sort ksds files?
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
.How to add one input & one Out file in existing cobol program. how approach tell me step by step.