can we read records in a file from botom to top. if
possible how can we read
Answer Posted / raj
yes,it is possible through JCL.
1. QSAM (sequential) file. You can run it thru SORT utility
adding SEQNUM and then sort then sort by SEQNUM in DESC
order
2. VSAM: In CICS you can read backward using READREV;
3. VSAM: I Batch unload the VSAM file using SORT in DESC
order by key value.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the Purpose of Pointer in the string?
What is Pic 9v99 Indicates in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
How to know whether the module is dynamical or statistical?
how do you reference the fixed unblock file formats from cobol programs
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
) what is the difference between AID and HANDLE AID?
What are the cobol coding sheets?
what is difference between cobol and cobol/400
What are the different rules to perform a Search?
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
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
How to remove 2 duplicate records and copy only one using job control language?
Which mode is used to operate the sequential file?
example for sub strings ? and refernce modifications whit output pls