should I use Go back in the main program ? Yes we can use
Go back in main program as well.
Answers were Sorted based on User's Feedback
Answer / sanjeev gupta
We can use goback both in main program and sub program. The
difference is that only, in case of sub program: after the
successful execution the control will pass to main program
whicle in case of main program:the control will pass to OS.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / raj
yes we can use goback in the mainprogram only if it is a
standalone program.
| Is This Answer Correct ? | 4 Yes | 1 No |
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
I know my query will return more than one row but I don't want cursor what should I do?
Have you used comp and comp-3 in your project? And how?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
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.
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?
how do you reference the variable block file formats from cobol programs