How to read records from flat file in reverse order through
COBOL program?
Answer Posted / pa
Being a flat file, we cant be sure that it will have a unique key field. So, External to the cobol program , using SORT utility, we can add a serial no column, and then SORT it in descending order based on that column and read the file sequentially in COBOL program.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Name the divisions, which are available in a cobol program?
what happens if parmparameter passes zero bytes to the program
HOw can I get the negative sign while deduct high value from low value
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
How many sections are there in data division in COBOL?
Whats the difference between search & search ALL?
What is the Purpose of Pointer in the string?
Difference between cobol and cobol-ii?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the usage of comp fields in cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are the different rules to perform a Search?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?