Answer Posted / nag(igate)
Yes, Before advancing clause is there. but it is default in
perform statement.
ex:
Perform para1 varying I from 1 by 1 until I > 10 { test
before or after}
1. if we code before: the condition will check first then
loop will execute. it is default.
2. if we code after: the loop will execute first then
condition will check.
pls correct me, if i am wrong..............
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a report item?
How do you define a variable of comp-1 and comp-2?
what happens if parmparameter passes zero bytes to the program
How do we get current date from system with century in COBOL?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is search and searchall?what is the diffrence between them?give an best example?
Write a program that uses move corresponding.
What is the use of intialize verb?
how do you reference the esds vsam file formats from cobol programs
What are the cobol coding sheets?
what is difference between cobol and cobol/400
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is redefines clause in COBOL?
What are the different rules of SORT operation?
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.