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
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Write the code to count the sum of n natural numbers.
How are the next sentence and continue different from each other?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
how can i see junk values in dclgen or in hostvariable of comp ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are the pertinent COBOL commands?
What is the difference between goback, stop run and exit program in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Name some of the examples of COBOl 11?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are different data types in cobol?
How you can characterize tables in cobol?
What are the pertinent COBOL
What is amode(24)?