Because the VSAM files are accessed in non-RLS mode, define recovery
attributes in the file resource definition. You can specify support for both
forward and backward recovery for VSAM files using the RECOVERY and FWDRECOVLOG
options.
You define the type of data set backup that you want using the BACKUPTYPE
parameter.
RDO Format CEDA DEFINE FILE(name) GROUP(groupname)
.
.
DSNAME(data set name)
.
.
RECOVERY(NONE|BACKOUTONLY|ALL)
FWDRECOVLOG(NO|1–99)
BACKUPTYPE(STATIC|DYNAMIC)
.
.
- RECOVERY(NONE | BACKOUTONLY | ALL)
- Defines the recovery requirements for the file. For CICS® TS, this
parameter is valid only for files defined with RLSACCESS(NO). For files that
are accessed in RLS mode, you must specify the recovery parameters with the
data set definition in the ICF catalog. For more information about RLS recovery
parameters, see CICS Transaction Server for z/OS®.
- NONE
- Causes CICS not
to write before-images or after-images. CICS VR cannot forward recover or back
out such a file. Do not specify the FWDRECOVLOG option if you specify RECOVERY(NONE).
- BACKOUTONLY
- Causes CICS to
record images for backout only. CICS VR cannot forward recover such a file.
If you specify this option, do not specify the FWDRECOVLOG option.
- ALL
- Requests before-images, for backout, to be recorded on the system log,
and after-images, for forward recovery, to be recorded on the log specified
in the FWDRECOVLOG parameter. Before-images are always recorded on the system
log.
Records written to the FWDRECOVLOG are totally independent of the
automatic logging options that might be set.
Note: For CICS VR purposes,
use the RECOVERY(ALL) option for all VSAM data set types.
- FWDRECOVLOG(NO | 1–99)
- Specifies the log ID to which the after-images for forward recovery are
written. CICS uses
this value only if RECOVERY(ALL) is specified.
Specify the same recovery
options and the same forward-recovery log ID for all CICS files that point to the same VSAM
sphere. Whenever CICS opens a file for update, it checks that all other
files that have been opened for update for the VSAM sphere have the same recovery
options and forward-recovery log ID. See CICS Recovery and Restart Guide for
more information about what happens if CICS finds a mismatch.
- BACKUPTYPE(STATIC | DYNAMIC)
- Defines the eligibility of files for backup-while-open processing.
- STATIC
- Defines the file as not being eligible for backup-while-open processing.
- DYNAMIC
- Causes the file to be eligible for backup-while-open processing.
You can set other options of the RDO entry for whatever you require. See CICS Resource
Definition Guide for more information.