How to read records from flat file in reverse order through
COBOL program?
Answer Posted / srini
Sort the file based on key in descending order. You can
read the file in reverse order.
| Is This Answer Correct ? | 44 Yes | 27 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
Describe the cobol database components?
What is static and dynamic call in cobol?
Why did you choose to work with ibm mainframe cobol programming?
Have you used comp and comp-3 in your project? And how?
What is rmode(any) ?
Write a program that uses move corresponding.
what happens if parmparameter passes zero bytes to the program
What is amode(24)?
How you can read the file from bottom?
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 are the different types of condition in cobol and write their forms.
What is the problem of ordered sequential files access?
What is the difference between external and global variables in COBOL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?