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 down the divisions of cobol program?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
) How do u handle errors in BMS macro
What is static and dynamic call in cobol?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are all the divisions of a COBOL program?
Which Search verb is equivalent to PERFORM…VARYING?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are the different rules for performing sort operation?
In COBOL, what is the different between index and subscript?
Can we redefine the field of x(200) to less than 200?
Mention the guidelines to write a structured cobol program?
Difference between array and sub-script ?
What are the various section in data division and briefly explain them.