Question & Answer
Question
How do you remove updates made by a particular CICS transaction from a VSAM sphere (data set) when using CICS VSAM Recovery for z/OS (CICS VR)?
Answer
Create a recovery job for the VSAM sphere that will not apply the updates made by the specified transaction. Using the CICS VR panels for the VSAM sphere, add an EXCLUDE command that specifies the appropriate transaction ID.
CICS VR can automatically build and add the EXCLUDE command to the job if you select the Selective forward recovery option from the CICS VR parameters secondary window. Once the CICS VR selective forward recovery panel is displayed, enter 2 for EXCLUDE in the "Command" field and enter the transaction ID of the CICS transaction associated with the updates you wish to remove from the sphere.
The created job will restore the sphere from its latest backup, and forward recover the sphere without applying the log records for the specified CICS transaction. Therefore, the resulting VSAM sphere will have all updates made by the CICS transaction removed.
Note: Depending on the complexity of your recovery, you can EXCLUDE and INCLUDE log records based on transaction, terminal, and file identifiers.
Product Synonym
CICSVR CICS VR CICS/VR
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21105233