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
Can a Search can be done on a table with or without Index?
How do you define a variable of comp-1 and comp-2?
i need a small 3d program using inline and outline.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Give some examples of command terminators?
Have you used comp and comp-3 in your project? And how?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you reference the esds vsam file formats from cobol programs
What the difference is between continue and next sentence?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Write the code implementing the perform … varying.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the utilization of copybook in cobol?
How many bytes S(8) comp field occupy and its maximum value?