How to read records from flat file in reverse order through
COBOL program?
Answer Posted / sreejith
i think it is also possible by using access mode dynamic.
first randomly point last record from the file using START
option. after you start read record in reverse order by
using READ PREV option until header of the file reached
Is This Answer Correct ? | 18 Yes | 26 No |
Post New Answer View All Answers
For rewrite, why is it mandatory that file needs to be opened?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between goback, stop run and exit program in cobol?
How many sections are there in data division in COBOL?
How do define dynamic array in cobol.
what is search and searchall?what is the diffrence between them?give an best example?
In which area will you utilize 88 level items in cobol?
What is rmode(any) ?
Which mode is used to operate the sequential file?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
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 convert the recors form vsam file to db2 table tru file aid
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.