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 a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the access modes of START statement?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the difference between a binary search and a sequential search what are the pertinent cobol?
how to refer the data field?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to know whether the module is dynamical or statistical?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Discuss about changing dataset name in proc.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Name some of the examples of COBOl 11?
Write down the divisions of cobol program?
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between structured cobol programming and object alternativelyiented cobol programming?