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
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the compute verb? How is it used?
Define cobol?
What is the use of intialize verb?
When is inspect verb is used in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Name the sections present in data division.
what is difference between cobol and cobol/400
Explain what you understand by passing by value.
What is a SSRANGE and NOSSRANGE?
how to move the records from file to array table. give with code example
What type of SDLC u followed? Why?
how to refer the data field?
) How do u handle errors in BMS macro?
How to use the same COBOL program in Batch and CICS on lines? explain with an example