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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Example<br />

// JOB MACC INITIAL<br />

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

MACC INITIAL<br />

/*<br />

/&<br />

M<strong>CA</strong>T Command<br />

Use the M<strong>CA</strong>T command to catalog an active version of a dataset as an active<br />

version of one or more additional datasets. The volumes of a multi-cataloged<br />

version are eligible <strong>for</strong> scratch only when all of the multi-cataloged versions<br />

are scratched.<br />

Note:<br />

• Only single file volumes may be cataloged in this fashion.<br />

• M<strong>CA</strong>T and M<strong>CA</strong>TAL cannot be used with multifile datasets including AMF<br />

and unchained datasets (STACK=).<br />

The M<strong>CA</strong>T and M<strong>CA</strong>TAL commands per<strong>for</strong>m the same function, but M<strong>CA</strong>T is the<br />

preferred command. The M<strong>CA</strong>TAL command allows <strong>for</strong> easier conversion from<br />

<strong>CA</strong> EPAT.<br />

The <strong>for</strong>mat of the command is shown below.<br />

M<strong>CA</strong>T FROMDSN='dsn' TODSN='dsn' [FROMVERS=nnn ]<br />

[TOVERS=nnn ]<br />

[PASSWORD='password']<br />

M<strong>CA</strong>TAL FROMDSN=dsname {.(0)|.gen },TODSN=dsname {.(0)|.rgen }<br />

[PASSWORD='password']<br />

FROMDSN=<br />

TODSN=<br />

FROMVERS=<br />

TOVERS=<br />

Required, positional parameter. Specifies the dataset to which the original<br />

version belongs. This dataset must currently exist in the catalog.<br />

Required, positional parameter. Specifies the name of the dataset into which<br />

the version is to be cataloged. This dataset must currently exist in the catalog.<br />

Optional parameter. Indicates the version to be copied into the TODSN<br />

dataset. The default is version 1.<br />

Optional parameter. Indicates the version to be multi-cataloged. The default is<br />

version 1.<br />

PASSWORD Required if a password has been defined <strong>for</strong> the from DSN. Valid entries are 1-<br />

8 alphabetic characters enclosed in apostrophes.<br />

8–76 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!