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 INPUT PROCEDURE and OUTPUT PROCEDURE?
) what is the difference between AID and HANDLE AID?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are the different rules for performing sort operation?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is redefines clause in COBOL?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is the use of outrecord?
How do you differentiate between cobol and cobol-ii?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to print 10 to 1 if the input have only 10 digit number?