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


Please Help Members By Posting Answers For Below Questions

Write a program to explain size error.

667


what is search and searchall?what is the diffrence between them?give an best example?

5534


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.

5663


What are the access modes of START statement?

706


What is a scope terminator give example?

650






How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

634


What type of SDLC u followed? Why?

1512


How many sections are there in data division in COBOL?

674


i need a small 3d program using inline and outline.

1629


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.

1998


What is the difference between PIC 9.99 and PIC9v99?

769


what is amode(24), amode(31), rmode(24) and rmode(any)?

686


how to convert the recors form vsam file to db2 table tru file aid

2749


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2716


What is the Purpose of Pointer in the string?

634