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 Purpose of POINTER Phrase in STRING command in COBOL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are 77 levels used for?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How do we get current date from system with century in COBOL?
What is difference between static and dynamic call in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How arrays can be defined in COBOL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Write the code implementing the perform … varying.
Define cobol?
When is inspect verb is used in cobol?