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

.gen<br />

.rgen<br />

Optional parameter. Specifies the absolute or relative generation of the<br />

version. If omitted, relative generation 0 is assumed.<br />

Optional parameter. Indicates the position of the generation in TODSN. If<br />

omitted, relative generation 0 is assumed.<br />

Example<br />

Assume that version 2 of dataset 'PAYROLL' contains volsers PAY001 and<br />

PAY002.<br />

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

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

M<strong>CA</strong>T FROMDSN='PAYROLL' FROMVERS=2 TODSN='TEST.PAYROLL'<br />

/*<br />

/&<br />

In the previous example, M<strong>CA</strong>T causes version 1 of 'TEST.PAYROLL' to be<br />

added to the Catalog. This version will reside on volumes PAY001 and PAY002.<br />

Following is an example of the M<strong>CA</strong>TAL <strong>for</strong>mat:<br />

// JOB M<strong>CA</strong>TAL<br />

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

M<strong>CA</strong>TAL FROMDSN=ARJNDLY,TODSN=ARJNWKLY<br />

M<strong>CA</strong>TAL FROMDSN=ARJNWKLY.(-3),TODSN=ARJNMTH<br />

M<strong>CA</strong>TAL FROMDSN=KPS7063.G207,TODSN=KPSSAVE<br />

/*<br />

/&<br />

OWN Command<br />

Use the OWN command to establish or change the Catalog ownership code.<br />

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

OWN id='ownership code'<br />

ID=<br />

Required parameter. Specifies the ownership code to be associated with this<br />

Catalog. Valid entry is a 1- to 16-character ownership code enclosed in<br />

apostrophes.<br />

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

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

Saved successfully!

Ooh no, something went wrong!