How to read records from flat file in reverse order through
COBOL program?
Answer Posted / shrik
Reading the records into a buffer (array) and using it in
reverse order would be the first idea that comes to mind but
that way doesnt work for file with millions of records.
Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What is perform what is varying?
What are the various section in data division and briefly explain them.
What kind of error is trapped by on size error option?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
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.
How do you get the data to code the BMS macro?
What is the difference between goback, stop run and exit program in cobol?
What is the local-storage section?
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?
Which mode is used to operate the sequential file?
Can a Search can be done on a table with or without Index?
What is static and dynamic call in cobol?