11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.21 Backup and recovery <strong>of</strong> CICS VSAM data sets<br />

Backup tool DFSMSdss<br />

Supports backup-while-open processing<br />

BWO type TYPECICS allows to backup the data set<br />

while it is open in CICS<br />

BWO <strong>of</strong> forward recoverable data sets allows a<br />

recovery tool to take this backup for forward recovery<br />

Recovery <strong>of</strong> a broken data set<br />

Non-recoverable data sets:<br />

Lost updates, data in the backup can be inconsistent<br />

Backward recoverable data sets<br />

Lost updates, data in the backup are consistent<br />

Forward recoverable data sets<br />

No lost updates, data are consistent<br />

Figure 7-29 Backup and recovery <strong>of</strong> CICS VSAM data sets<br />

Backup tool DFSMSdss<br />

DFSMSdss supports backup-while-open (BWO) serialization, which can perform backups <strong>of</strong><br />

data sets that are open for update for long periods <strong>of</strong> time. It can also perform a logical data<br />

set dump <strong>of</strong> these data sets even if another application has them serialized.<br />

Backup-while-open is a better method than using SHARE or TOLERATE(ENQFAILURE) for<br />

dumping CICS VSAM file-control data sets that are in use and open for update.<br />

When you dump data sets that are designated by CICS as eligible for backup-while-open<br />

processing, data integrity is maintained through serialization interactions between:<br />

► CICS (database control program)<br />

► VSAM RLS<br />

► VSAM record management<br />

► DFSMSdfp<br />

► DFSMSdss<br />

Backup-while-open<br />

In order to allow DFSMSdss to take a backup while your data set is open by CICS, you need<br />

to define the data set with the BWO attribute TYPECICS or assign a data class with this<br />

attribute.<br />

► TYPECICS<br />

Use TYPECICS to specify BWO in a CICS environment. For RLS processing, this<br />

activates BWO processing for CICS. For non-RLS processing, CICS determines whether<br />

Chapter 7. DFSMS Transactional VSAM Services 415

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!