I have two questions here. 1. How to read a flat file in
reverse order? 2. How to read a VSAM KSDS file in reverse
order? In both the cases we donot know the total number of
records.
Answer Posted / dsingh29
add a sequence number at end of records and then sort in
descending order.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
what is the use of outrecord?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are various search techniques in cobol? Explain.
What are the different open modes available in cobol?
What are the different data types in cobol?
Can you please let me know the centre name of INS certification in Kolkata.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write some characteristics of cobol as means of business language.
What guidelines should be followed to write a structured cobol prgm?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is difference between static and dynamic call in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the difference between external and global variables in COBOL?
How can you get the ksds file records into your cobol program?