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 refer the data field?
What is inspect in cobol ?
What is redefines clause in COBOL?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
State the various causes of s0c1, s0c5 and s0c7.
How to print 10 to 1 if the input have only 10 digit number?
What is comp-1 and comp-2?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What are literals?
What is Pic 9v99 Indicates in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do u write test cases?
i want a program using by if, evaluate , string, unstring, perform, occurs?