Using the AMP JCL DD parameter to enable VSAM Batch Logging

If do not want to update the catalog entry of a VSAM sphere to enable batch logging, you can specify FRLOG in the AMP parameter on the JCL DD statement of the VSAM data set in the batch job.

You can also override the FRLOG catalog setting of a VSAM data set by specifying FRLOG in the AMP parameter. You can set FRLOG in the AMP parameter to one of the following values:
AMP=('FRLOG=ALL | NONE | REDO | UNDO')
Note: If ALL or REDO is specified for FRLOG, a LOGSTREAMID must also be specified.
An example of enabling CICS® VR forward recovery logging using the AMP parameter on the JCL DD statement of the VSAM data set:
Figure 1. Enabling CICS VR forward recovery logging using the AMP parameter
//DS1      DD   DSNAME=USER1.BASE1A,AMP=('FRLOG=REDO'),DISP=SHR
How to disable CICS VR VSAM batch logging using the AMP parameter on the JCL DD statement of the VSAM data set:
Figure 2. Disabling CICS VR VSAM batch logging using the AMP parameter
//DS1      DD   DSNAME=USER1.BASE1A,AMP=('FRLOG=NONE'),DISP=SHR