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.

Managing Special Files<br />

Running Tests with Production JCL<br />

You do not have to catalog new versions of output data sets when running<br />

tests with production JCL. The programmer test option enables you to define a<br />

$TEST jobname in the following ways:<br />

• In the DYNAM/T option record, you can define test jobs by specifying an<br />

identifying character string and its starting position within the jobname.<br />

For example, if the DYNAM/T option record specifies:<br />

TESTJOB($$$,6)<br />

then the following job names will be considered test jobs:<br />

PRODT$$$<br />

PAYRL$$$<br />

but not $$$PRODT<br />

but not PAY$$$<br />

• If no user-defined name is specified in the DYNAM/T option record,<br />

<strong>CA</strong> <strong>Dynam</strong>/T defaults to the string $TEST at position 1 of the jobname.<br />

• When you run a test job, <strong>CA</strong> <strong>Dynam</strong>/T does not update the Catalog file at<br />

CLOSE <strong>for</strong> output data sets. Otherwise, the system functions as usual. All<br />

input files are selected through AVR; output scratch tapes are allocated.<br />

Examples:<br />

DYNAM/T option record<br />

Valid test job JCL statement<br />

TESTJOB(TJOB,3)<br />

// JOB PRTJOB<br />

// JOB ARTJOB1<br />

(default)<br />

// JOB $TESTPR<br />

// JOB $TESTAR1<br />

Cataloging Output Tapes<br />

Output tapes do not become new versions of the data sets. They are cataloged<br />

as TEST status tapes and are retained until the next DYN<strong>CA</strong>T SCRATCH<br />

command is run, returning them to SCRATCH status. They will not be called<br />

<strong>for</strong> as input to production runs. If you request their data set name as input<br />

during a subsequent step of a $TEST job, <strong>CA</strong> <strong>Dynam</strong>/T calls the most current<br />

$TEST version as though it were a member of the data set.<br />

You can fully test JCL <strong>for</strong> jobs that create a file in one step, and then read the<br />

newly created file in a later step. If you request a data set on input which<br />

contains no test versions, <strong>CA</strong> <strong>Dynam</strong>/T inputs the appropriate production<br />

version.<br />

Chapter 2: Maintaining Tape Files 2–53

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

Saved successfully!

Ooh no, something went wrong!