How to read records from flat file in reverse order through
COBOL program?
Answer Posted / dimpy19
When REVERSED is specified, OPEN statement execution positions the QSAM file at its end. Subsequent READ statements make the data records available in reversed order, starting with the last record
Open INPUT filename REVERSED
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Have you used comp and comp-3 in your project? And how?
what is difference between cobol and cobol/400
What is the compute verb? How is it used?
Which Search verb is equivalent to PERFORM…VARYING?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between Global and External Variables?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between comp and comp-3 usage?
How to know whether the module is dynamical or statistical?
What the difference is between continue and next sentence?
What is rmode(any) ?
Which mode is used to operate the sequential file?