adspace
Answer Posted / Shashank Gautam
In Assembler, to access a VSAM file, you need to follow these steps:
1. Define the VSAM file description in DC (Description Control) area.
2. Use the proper control information like sequence organization and key-sequence set-up for your specific file.
3. Use the appropriate VSAM entry points in the assembler program such as OPEN, GET, PUT, CLOSE, etc.
4. In the case of EXTended Sequential (XS) or Relative Sequential (RS) access methods, you may need to use the READ or FIND instructions with appropriate control information.
5. For Keyed Sequential (KS) access method, you can use the FIND/SET routine to search for a specific record.
| 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