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 |
How to open and see copy book ?
where do u use low-value and high value in cobol
How to convert bunch of words in a line to relvant ASCII values?
how can we find total no of records in a file ....is there any utility......?
which is better comp or comp-3 in terms of memory utilization?
how will u pass dadta to cobol+db2 program...?
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
can we use variable picture clause as xx.99 in cobol.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
explain sorting techniques in cobol program?
What is the difference between external and global variables in COBOL?
i need a small 3d program using inline and outline.