How to read records from flat file in reverse order through
COBOL program?
Answer Posted / mahendra.ch
first we can move the records to an occurs
then
we can solve this problem by using perform varing 1 by -1
until i=0
hear i = number of racords.
iam shure it works.
thank you....
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is the difference between comp and comp-3?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
how do you reference the variable block file formats from cobol programs
What is the local-storage section?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How do get the result of your program directly on your pc?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is inspect in cobol ?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how to access the file from prodution from changeman tool and to submit a file to production
What are different data types in cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How many bytes S(8) comp field occupy and its maximum value?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?