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

WORK=<br />

Optional parameter. Specifies that this tape dataset is to be processed as a<br />

tape work dataset.<br />

YES<br />

NO<br />

This is a work dataset. The RELEASE option may be used.<br />

This is not a work dataset. The RELEASE option will be<br />

ignored if used. You may not specify retention<br />

in<strong>for</strong>mation <strong>for</strong> a work dataset. Do not use RETAIN,<br />

PEDCYC, or NGEN with this parameter.<br />

Examples<br />

Examples are shown next.<br />

// JOB DEFINE ENTRIES IN THE <strong>CA</strong> <strong>Dynam</strong> <strong>CA</strong>TALOG<br />

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

DEFINE 'MULTI-FILE1' NGEN=3 DENSITY=6250 <br />

DEFINE 'MULTI-FILE2' PREVFILE='MULTI-FILE1' <br />

DEFINE 'MULTI-FILE3' PREVFILE='MULTI-FILE2' <br />

DEFINE 'BACKUP' NGEN=5 VLTLOC=(A,C,C) DEFVLT=A <br />

DEFINE 'PRBACKUP' RETAIN=180 CLOSE=UNL<br />

+ <br />

PASSWORD='PROTECT' SYSID=PR LENGTH=L <br />

DEFINE 'EDIT BATCHES ***' MF=AUTO COMMENT='PROTOTYPE AMF DSN' <br />

DEF 'BG.CPU-A.WORK1' ALLOC=(POOL01,TRK,57,19,3) DISK <br />

DEF 'F1.CPU-A.WORK' ALLOC=(POOL01,TRK,57,19,3) DISK <br />

DEF SKNAME='PAY220KY' FIELDS=(20,14,CH,A) RECFM=F LRECL=150 <br />

DEF 'FICHE.FILE' TAPE BLKSZ=12100 FIOPT=(SL,DB,NOCNTRL) +<br />

NGEN=2 DYNAMFI=YES<br />

DEF 'MASTER.PAYROLL' DISK PRIME=(0,PAY001,ABS,1900,1900,SYS099) +<br />

PRIME=(1,PAY002,ABS,1900,1900,SYS098) +<br />

PRIME=(2,PAY003,ABS,1900,1900,SYS097)<br />

/*<br />

/&<br />

1, 2, 3 These define a three-data-set multifile set. The define statement <strong>for</strong><br />

MULTI-FILE1 establishes the characteristics <strong>for</strong> the entire set while MULTI-<br />

FILE2 and MULTI-FILE3 are chained to it with the PREVFILE operand.<br />

4 This defines a dataset BACKUP that is to have 5 generations. Version 1 is<br />

to be in vault A; Versions 2 and 3 are to be in vault C; Versions 4 and 5<br />

default back to vault A.<br />

5 This defines PRBACKUP, which is to be retained <strong>for</strong> 180 days. Whenever<br />

the file is closed, it is to be unloaded. The password PROTECT must be<br />

supplied in order <strong>for</strong> maintenance to be per<strong>for</strong>med on the dataset. It is to<br />

have a system ID of PR and is to be written on a long tape.<br />

6 Note the continuation of the DEFINE statement in example 5 onto this<br />

example (6) by placing a nonblank character in position 72 and continuing<br />

the operands on the next statement.<br />

7 This defines EDIT BATCHES *** as an automatic multifile dataset.<br />

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

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

Saved successfully!

Ooh no, something went wrong!