Explain how to access vsam file?
Answer / 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 |
How to pass the parameters from jcl to assembler program?
what is need of START 0?. In steed of '0' can we use any other numerics?. if we use what will happen?.
How to initialize 20,000 bytes in the Assembler..
What is maximum displacement?
What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?
Why do we have multiple base registers in certain programs?
What is house keeping in assembler? And explain the following code HELLOTSO START 0 * PRINT NOGEN BEGIN SAVE (14,12) LR 12,15 USING TYPE,12 ST 13,SAVE+4 LA 11,SAVE ST 11,8(13) LR 13,11
Explain the difference between various read and find statement and which one should be used when for better adabas performance?
What will happen if we drop the base register in the program which contains only one basereg?
What does the following code do? Ap wkur,=p5 where wkur is a label?
What is symbol table in assembler?
how to produce SOC7 abend