You can use batch logging to log changes to VSAM data sets that
are not accessed in record level sharing mode (RLS mode) when the VSAM data
set is not being used by CICS®.
CICS VR
VSAM batch logging can only be used with non-RLS access, that is, if MACRF
is set to NSR (non-shared resources), LSR (local shared resources) or GSR
(global shared resources), and if MACRF is not set to RLS.
Note: RLS is a
mode of access to a VSAM sphere that is interpreted at OPEN time; RLS is not
an attribute of a sphere. RLS is selected by specifying the RLS JCL parameter
or by specifying MACRF=RLS in the ACB.
Use CICS VR
VSAM batch logging after you have brought down CICS or have issued a command to deallocate
the files your batch jobs need to update. For example, you can use the following CICS command
to disable (deallocate) PAYROLL so your batch jobs can update that file and CICS VR
VSAM batch logging can log the changes:
CEMT SET FILE(PAYROLL) CLOSED DISABLED
The Enabling CICS VR VSAM batch logging section describes the different
ways you can enable CICS VR VSAM batch logging.