03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

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.

Maintenance Commands<br />

Backing up the <strong>CA</strong> <strong>Dynam</strong> Catalog, and backing up and clearing the Audit data<br />

set:<br />

// JOB AUDTUTIL BACKUP AND CLEAR AUDIT DATA SET<br />

// TLBL DYNHIST,'<strong>CA</strong> <strong>Dynam</strong> AUDT',,,,,,2<br />

// EXEC AUDTUTIL,SIZE=128K<br />

BACKUP INITIALIZE<br />

/*<br />

/&<br />

// JOB DYN<strong>CA</strong>T BACKUP<br />

// TLBL IJSYSBK,'<strong>CA</strong> <strong>Dynam</strong> BKUP',,,,,,2<br />

// EXEC DYN<strong>CA</strong>T,SIZE=128K<br />

BACKUP<br />

/*<br />

/&<br />

This job stream creates a backup of the Catalog and Audit files and clears the<br />

Audit data set. Run this job in the order shown at least once daily. This<br />

ensures that current backups are always available.<br />

Back up and clear the Audit data set first to ensure the following is done:<br />

• All records on the Audit data set reflect activity since the most recent<br />

backup<br />

• The most recent backup is logged<br />

Example<br />

The following example details the recovery procedure.<br />

Recovering the Catalog from a backup tape and Audit file:<br />

// JOB DYN<strong>CA</strong>T RESTORE <strong>CA</strong> <strong>Dynam</strong> <strong>CA</strong>TALOG FILES<br />

// TLBL IJSYSBK<br />

// EXEC DYN<strong>CA</strong>T,SIZE=128K<br />

RESTORE<br />

/*<br />

/&<br />

// JOB AUDTUTIL RECOVER <strong>CA</strong> <strong>Dynam</strong> <strong>CA</strong>TALOGS FROM DISASTER<br />

// EXEC AUDTUTIL,SIZE=128K<br />

<strong>CA</strong>TALOG RECOVERY NOTAPE LIST<br />

/*<br />

/&<br />

This job stream recovers the Catalog using the current backup tape and the<br />

Audit data set. No file ID is specified <strong>for</strong> IJSYSBK, the backup tape to be<br />

restored. Since the Catalog has been destroyed, it would serve no purpose to<br />

try to input the tape as a controlled data set.<br />

Chapter 12: Maintaining and Reporting on the Audit Trail 12–9

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

Saved successfully!

Ooh no, something went wrong!