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.

DYN<strong>CA</strong>T Commands<br />

ALL<br />

Optional parameter. Specifies that all versions of the old dataset be renamed.<br />

NEWVERS, OLDVERS and VOLSER must not be present when ALL is specified.<br />

The data set name specified by NEWNAME must not exist in the Catalog when<br />

the ALL operand is used.<br />

When ALL is specified, the name of the entire dataset is changed. If not, a<br />

version is moved from one dataset to another.<br />

MF=RESET<br />

Optional parameter. Automatically resets the prototype record of the AMF<br />

dataset to indicate 001 as the next output data set name to be used as file one<br />

of the tape to be created. Renames all existing members of the AMF group to a<br />

new name, as specified by the NEWNAME parameter.<br />

When MF=RESET is used, the data set names specified <strong>for</strong> both OLDNAME and<br />

NEWNAME must contain three asterisks (***) identifying the position <strong>for</strong> the<br />

numeric AMF numbers in the old and new data set names.<br />

NEWVERS, OLDVERS and VOLSER must not be present when MF=RESET is<br />

specified.<br />

NEWVERS=<br />

Optional parameter. Specifies the new version number to be assigned to the<br />

renamed version. Valid entry is:<br />

a 1- to 3-digit number in the range 0 - 999.<br />

OLDVERS=<br />

Optional parameter. Specifies the version of the dataset to be renamed.<br />

OLDVERS and VOLSER are mutually exclusive. Valid entry is:<br />

a 1- to 3-digit number in the range 0 - 999.<br />

VOLser=<br />

Optional parameter. Specifies the volume serial number of the first or only<br />

volume of the dataset to be renamed. VOLSER and OLDVERS are mutually<br />

exclusive. Valid entry is a 1- to 6-character volume serial number. (May be<br />

enclosed in parentheses.)<br />

Examples<br />

Examples follow:<br />

// JOB RENAME <strong>CA</strong> <strong>Dynam</strong> DATA SETS<br />

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

RENAME OLDNAME='DSN1' NEWNAME='DSN2' ALL <br />

RENAME OLDNAME='DSN3' NEWNAME='DSN4' OLDVERS=3 NEWVERS=13 <br />

RENAME OLDNAME='DSN5' NEWNAME='DSN6' VOLSER=7528 NEWVERS=7 <br />

RENAME OLDNAME='PAY***' MF=RESET NEWNAME='PAYDEC***' <br />

/*<br />

/&<br />

Chapter 8: Maintaining the Catalog−DYN<strong>CA</strong>T Program 8–79

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

Saved successfully!

Ooh no, something went wrong!