VSAMEND: Stop passing AMS commands to VSAM
Use the VSAMEND command to tell CICS® VR to stop passing AMS commands to VSAM.
The VSAMEND command has no synonyms.
Format
VSAMEND
DSN(data set name)
Keywords
- DSN(data set name)
- Specifies the data set in the
corresponding VSAMSTART command. The DSN keyword is required. You
can only specify this keyword once per VSAMEND command.
- data set name
- Specifies the data set name, which is 1–44 characters.
Usage notes
Consider the following when using the VSAMEND command:
- The DSN keyword must be on the same line as the VSAMEND command.
- You can use the VSAMSTART/VSAMEND combination to rebuild alternate indexes after a successful forward recovery.
Examples
VSAMSTART DSN(TEST.PAYROLL.BASE)
BLDINDEX -
INDATASET(TEST.PAYROLL.BASE) -
OUTDATASET(TEST.PAYROLL.PATH)
VSAMEND DSN(TEST.PAYROLL.BASE)
This pair of VSAMSTART and VSAMEND commands tells CICS® VR to pass the AMS BLDINDEX command to VSAM when the recovery of TEST.PAYROLL.BASE has successfully completed. The alternate index for TEST.PAYROLL.BASE is built by VSAM when CICS® VR has recovered TEST.PAYROLL.BASE.
For details of the VSAMSTART command, see VSAMSTART: Start passing AMS commands to VSAM.