I have two questions here.
1. How to read a flat file in reverse order?
2. How to read a VSAM KSDS file in reverse order?
In both the cases we donot know the total number of records.
Answer Posted / hanish
Flat file may be read in reverse order by using the following code
READ file-name into data-name REVERSED.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between perform … with test after and perform … with test before?
how do you reference the variable unblock file formats from cobol programs
what happens if parmparameter passes zero bytes to the program
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how can i see junk values in dclgen or in hostvariable of comp ?
Why did you choose to work with ibm mainframe cobol programming?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Name the divisions, which are available in a cobol program?
how to access the file from prodution from changeman tool and to submit a file to production
how do you reference the printer file formats from cobol programs
HOw can I get the negative sign while deduct high value from low value
How to print 10 to 1 if the input have only 10 digit number?
What are the various section in data division and briefly explain them.