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
Are you comfortable in cobol or jcl?
Name the sections present in data division.
how do you reference the ksds vsam file formats from cobol programs
What is the difference between perform … with test after and perform … with test before?
What guidelines should be followed to write a structured cobol prgm?
Explain about different table spaces.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Difference between array and sub-script ?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the LINKAGE SECTION used in COBOL?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
what happens if parmparameter passes zero bytes to the program
What is a scope terminator give example?
What are 77 levels used for?