|
With
the changes to resource definition in CICS Transaction Server (CICS TS)
the CICS System Definition (CSD) file (DFHCSD) has become a very
important system file which needs to be backup up regularly and easily
recoverable in the event it becomes unusable.
The
CICS CSD is a VSAM KSDS file that is used to store CICS resource
definitions, groupings of definitions and startup lists used during cold
start of CICS. The CICS CSD is a mandatory system file for CICS TS
because resource definitions which were previously supported with the
PCT, PPT and TCT macro tables on CICS/VSE are now only supported in the
CSD file on CICS TS.
The
CICS CSD file is installed in the VSESPUC user catalog during initial
installation of VSE. On a new install of VSE it is recommended to make
a copy of this file. This will provide a fallback in case the original
file is used for definitions and becomes corrupted.
A
VSAM IDCAMS job can be used to define a backup CSD file and repro the
original one into it or to backup the original to tape. The CSD can be
backed up to tape separately or by taking a backup of the VSESPUC user
catalog containing it.
The
CSD file can be shared between multiple CICS partitions or a separate
copy of the CSD can created for each partition. The latter will result
in more maintenance work for the system programmer because updates to
IBM definitions in the system default CSD file will need to be
propagated to CSD files that have been copied from it. The FSU process
from one level of VSE to another will perform updates to the CSD which
will also need to be applied to other copies of the CSD. The FSU
jobstep that updates the primary CSD can be used to update the other
CSDs or simply copy the updated IBM groups from the primary CSD to the
copied CSDs using the DFHCSDUP batch utility.
If
your jobstream editing and submittal functions are done using editors
running under CICS then it becomes critical that recovery procedures are
in place to access a good CSD file if the one being used becomes
corrupted and the CICS containing your editing functions cannot be
started. If the CSD file used by this CICS is defined in standard
labels, then a simple approach is to have a known good backup of a CSD
file in a VSAM catalog on the system. A standard label delete and add
can be done from a PAUSE job to change the DFHCSD label to this backup
file in order to restart the CICS partition and to submit CSD recovery
jobs.
Another recovery approach is to keep a VSAM restore job in the POWER
reader queue to restore the last good backup copy of the CSD file from a
backup tape. A recovery CICS jobstream with JCL referencing a backup
CSD file could also be kept in the POWER reader to bring up a CICS with
the necessary editor functions to recovery the failed CSD file. With
the importance of the CSD file, implementation of one of these recovery
techniques is critical to the operation of the CICS environment. |