How to read records from flat file in reverse order through
COBOL program?

Answers were Sorted based on User's Feedback



How to read records from flat file in reverse order through COBOL program?..

Answer / sreejith

i think it is also possible by using access mode dynamic.
first randomly point last record from the file using START
option. after you start read record in reverse order by
using READ PREV option until header of the file reached

Is This Answer Correct ?    18 Yes 26 No

How to read records from flat file in reverse order through COBOL program?..

Answer / gurukulu

use COBOL internal sort in ascending or descending key.

Is This Answer Correct ?    0 Yes 11 No

How to read records from flat file in reverse order through COBOL program?..

Answer / janu

using iebcmpr
we can easily read
sort fields=(pos,length,d,char)

Is This Answer Correct ?    8 Yes 23 No

How to read records from flat file in reverse order through COBOL program?..

Answer / chp

can we use read prev in cobol programming???

Is This Answer Correct ?    8 Yes 23 No

Post New Answer

More COBOL Interview Questions

How to open and see copy book ?

3 Answers  


where do u use low-value and high value in cobol

3 Answers   CGI,


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


how can we find total no of records in a file ....is there any utility......?

3 Answers   IBM,


which is better comp or comp-3 in terms of memory utilization?

6 Answers  






how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

0 Answers   IBM,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


explain sorting techniques in cobol program?

0 Answers  


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


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

0 Answers  


Categories