adspace
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
Answer Posted / Shailendra Kumar Verma
[{"How to get the last record in VSAM file in a cluster": "To read the last record, you should specify the key sequence as descending and the file status should be set to ASCENDING. When the end of the file is reached, the file status changes to EOF.","How can u get the ksds file records into a COBOL program": "You can use an EXTERNAL FILE SECTION in your COBOL program to read data from a KSDS file. The details depend on the specific IBM mainframe operating system and the exact format of the KSDS file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category