How to read records which is in sequential file in reverse
order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my
doubt any one
Answer Posted / sreejith
sort the file firt in decending order
and then read sequentially
Is This Answer Correct ? | 12 Yes | 10 No |
Post New Answer View All Answers
Write a program to explain size error.
what is search and searchall?what is the diffrence between them?give an best example?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are the access modes of START statement?
What is a scope terminator give example?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What type of SDLC u followed? Why?
How many sections are there in data division in COBOL?
i need a small 3d program using inline and outline.
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 the difference between PIC 9.99 and PIC9v99?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how to convert the recors form vsam file to db2 table tru file aid
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the Purpose of Pointer in the string?