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 are decleratives in cobol?
how do you reference the rrds file formats from cobol programs
Can we change the password using ALTER? anyone tried and changed?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is a report item?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Why occurs cannot be used in 01 level in COBOL?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Are you comfortable in cobol or jcl?
Can a Search can be done on a table with or without Index?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Can you please let me know the centre name of INS certification in Kolkata.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What kind of error is trapped by on size error option?
What is the difference between Call and a Link?