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 />

• While the <strong>CA</strong>TALOG|NON<strong>CA</strong>TAL option applies to Method 1,<br />

CONVERT|NON<strong>CA</strong>TAL applies to Method 2.<br />

• If neither <strong>CA</strong>TALOG nor NON<strong>CA</strong>TAL is specified in Method 1, all files<br />

selected by the file-id, file-id* or '*' parameter are processed.<br />

Examples<br />

Restore all sequential files on the input tape using the REORG command. All<br />

files will be written back to the volume they were backed up from:<br />

REORG '*'<br />

Using the REORG command, restore files whose names begin with SALARY<br />

moving them to volume ADMIN1:<br />

REORG 'SALARY*' VOL=ADMIN1<br />

Using the REORG command, restore a file using its Catalog definition:<br />

REORG '<strong>CA</strong>TS.AND.DOGS' <strong>CA</strong>TALOG<br />

Using the REORG command, restore a file moving it into the PAYROL pool:<br />

REORG 'TIME.IS.MONEY' POOL=PAYROL<br />

Select a file PAYROLL.MASTER from a backup tape and restore it to the <strong>CA</strong><br />

<strong>Dynam</strong>/D pool POOL01 using the REORG command, and change its name to<br />

OLD.PAYROLL.MASTER:<br />

// JOB RENAME<br />

// TLBL RESTORE,'dsn'<br />

// ASSGN SYS006,tape<br />

// DLBL NEWFILE,'OLD.PAYROLL.MASTER'<br />

// EXTENT ,POOL01,1,0,1,40<br />

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

REORG 'PAYROLL.MASTER' FILELBL=NEWFILE NONAMECH<br />

/*<br />

/&<br />

Select a file PAYROLL.MASTER from a backup tape and use the REORG<br />

command to restore it to disk, change its name to OLD.PAYROLL.MASTER, and<br />

use <strong>CA</strong> <strong>Dynam</strong> Catalog control to locate and create the target file:<br />

// JOB RENAME<br />

// TLBL RESTORE,'dsn'<br />

// ASSGN SYS006,tape<br />

// DLBL NEWFILE,'OLD.PAYROLL.MASTER'<br />

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

REORG 'PAYROLL.MASTER' FILELBL=NEWFILE NONAMECH<br />

/*<br />

/&<br />

Chapter 5: Supporting Disk File Management 5–33

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

Saved successfully!

Ooh no, something went wrong!