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.

Disk File Maintenance Utilities<br />

STOCK(G#14) has been created but you find it contains corrupted data and<br />

you want to restore the situation at the time of the backup so you can rerun<br />

the production job:<br />

REORG 'STOCK(G#13)' <strong>CA</strong>TALOG GDS=REPLACE NEWDSN='*'<br />

REORG 'STOCK(G#11)' <strong>CA</strong>TALOG GDS=REPLACE NEWDSN='*(G-2)'<br />

REORG 'STOCK(G#12)' <strong>CA</strong>TALOG GDS=REPLACE NEWDSN='*(G-1)'<br />

<strong>CA</strong> <strong>Dynam</strong> Catalog<br />

Be<strong>for</strong>e: STOCK - NGEN=3 - G#14 -> G#13 -> G#12<br />

After: STOCK - NGEN=3 - G#14 -> G#13 -> G#12<br />

| | |<br />

| | +-- G#11 from backup<br />

| +---------- G#12 from backup<br />

+------------------ G#13 from backup<br />

Note:<br />

• The absolute generation numbers have now all slipped <strong>for</strong>ward by one. But<br />

to the production job JCL, which uses relative generation numbers, the<br />

situation is indistinguishable from what applied when the DUMP tape was<br />

created.<br />

• Again, the REORG commands are issued in an order corresponding to the<br />

order of the files on the backup tape.<br />

• This reconstruction could be done using more than one backup tape if that<br />

were necessary. For more in<strong>for</strong>mation, see the OPEN and CLOSE<br />

commands.<br />

RESTORE Command<br />

The RESTORE command copies back to disk those files that were previously<br />

dumped to tape with DYNUTIL's DUMP command.<br />

This command has the following <strong>for</strong>mats:<br />

RESTORE VOL=volser [ OLDVOL=xxxxxx ]<br />

[ EXCLUDE= [' file-id'|' file-id*']]<br />

[ EXPIRE=[yy/ddd|yyyy/dd] ]<br />

[ PERM ]<br />

[ RETAIN ]<br />

[ UNEXPIRED ]<br />

[ REPLACE ]<br />

RESTORE { 'file-id' } [ EXPIRE=[yy/ddd|yyyy/ddd]]<br />

{ 'file-id*' } [ EXCLUDE= [' file-id'|' file-id*']]<br />

[ PERM ]<br />

[ RETAIN ]<br />

[ UNEXPIRED ]<br />

[ REPLACE ]<br />

Chapter 5: Supporting Disk File Management 5–37

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

Saved successfully!

Ooh no, something went wrong!