Answer Posted / lenin
If you want the code to be executed only once, use inline
perform. SO the codes should be enclosed by perform and End-
Perform.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the difference between perform … with test after and perform … with test before?
What are the different types of condition in cobol and write their forms.
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.
What is length is cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Write down the divisions of cobol program?
Write the code to count the sum of n natural numbers.
Why did you choose to work with ibm mainframe cobol programming?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
HOw can I get the negative sign while deduct high value from low value
What the difference is between continue and next sentence?
What rules are to be followed while using the corresponding options?
What are the pertinent COBOL commands?
how to move the records from file to array table. give with code example