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
Write a program to explain size error.
Mention the guidelines to write a structured cobol program?
What rules are to be followed while using the corresponding options?
How do you differentiate between cobol and cobol-ii?
What is comp-1 and comp-2?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
what are decleratives in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Can you please let me know the centre name of INS certification in Kolkata.
how to convert the recors form vsam file to db2 table tru file aid
What is rmode(any) ?
What is the use of intialize verb?
What is a report item?
What are declaratives and what are their uses in cobol?
Explain the configuration section of a cobol program with examples of syntax.