How to read records from flat file in reverse order through
COBOL program?
Answers were Sorted based on User's Feedback
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 |
Answer / gurukulu
use COBOL internal sort in ascending or descending key.
Is This Answer Correct ? | 0 Yes | 11 No |
Answer / janu
using iebcmpr
we can easily read
sort fields=(pos,length,d,char)
Is This Answer Correct ? | 8 Yes | 23 No |
What type of SDLC u followed? Why?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
What is the difference between structured cobol programming and object alternativelyiented cobol?
how to transfer the file from pc to mainframe??
what is sysncpoint?
. How do we cast a variable in COBOL
What will happen if we generate GDG +2 version instead of +1 version?
what is search and searchall?what is the diffrence between them?give an best example?
level number 77 is used to define a)group data b)elementary data c)redefine d)none
Define cobol?
How to retain the Duplicates in the one records?