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 / dsingh29
add a sequence number at end of records and then sort in
descending order.
| Is This Answer Correct ? | 14 Yes | 1 No |
How are the next sentence and continue different from each other?
What is the maximum length of a field you can define using COMP-3 in COBOL?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
What is an explicit scope terminator?
can we read records in a file from botom to top. if possible how can we read
Write some characteristics of cobol as means of business language.
What is the Purpose of Pointer in the string?
In an EVALUATE statement, can I give a complex condition on a when clause?
How can we know that cobol program is using report file or simple file....?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?
what are the utilities for load and unload the DB2 tables