IBM Support

CICSVR batch logging not occurring for VSAM ESDS data sets

Question & Answer


Question

Why isn't CICS VSAM Recovery for z/OS (CICS VR) recording batch adds (writes) to my ESDS file so I can recover the dataset? I am not receiving messages DWW269I and DWW264I for my batch adds to the ESDS files and nothing is being logged. The CICSVR ISPF clist shows that no recovery is needed for the ESDS datasets.

I installed CICS VSAM Recovery for z/OS (CICS VR) V5.2 and ran the CICSS VR supplied IVP jobs (DWWVRDEF and DWWRUNBL) successfully, but I wanted to do my own testing and my KSDS and RRDS test batch jobs logged correctly and issued messages:

 DWW269I BATCH LOGGING REQUESTED: FRLOG(REDO)
 DWW264I VSAM BATCH REDO LOGGING COMPLETED SUCCESSFULLY

Answer

Perform an initial load of the ESDS file and then a subsequent update job step should perform batch logging. The CICS VR IVP job DWWRUNBL uses the 'LOAD' jobstep to initialize the ESDS file and the 'ADDREC' jobstep allows for batch logging.

The CICS VSAM Recovery documentation topic Enabling CICS VR VSAM batch logging lists restrictions. One of those restrictions is that batch logging cannot be performed for an empty VSAM data set.

 Restrictions:
 
          - A VSAM data set that is eligible for batch logging (FRLOG NONE, REDO, UNDO, or ALL):
             - Must be SMS-managed
             - Cannot be LINEAR, KEYRANGE, or a temporary data set
          - Batch logging cannot be performed when the VSAM data set is empty.
          - CICS VR VSAM batch logging provides logging for non-RLS data sets. The VSAM data sets must be 
            opened with the ACB setting MACRF=NSR or LSR or GSR. The RLS JCL parameter must not be set.    

VSAM open module IDA0192A checks bit OPWCREAT for the sphere. If the file is in create mode (empty), it VSAM bypasses the DWW3CVRM call to perform batch logging.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQJMU","label":"CICS VSAM Recovery for z\/OS"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICSVR CICS VR

Document Information

Modified date:
11 January 2016

UID

dwa1243062