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.

Reporting on Tape Files<br />

TDYNPULL Processing<br />

To determine a file's input or output status, TDYNPULL uses the following<br />

hierarchy of methods:<br />

• Checks the IBM DISP= parameter on the TLBL statement. Depending on<br />

the parameter, the file is assumed to be either input or output.<br />

– If the value is DISP=OLD, the file is assumed to be input.<br />

– If the value is DISP=NEW, the file is assumed to be output.<br />

• Looks <strong>for</strong> an input or output indication in the comment portion of a TLBL<br />

statement<br />

• Compares the user-defined pull table to the dtf name and, optionally, job<br />

name, phase name, or both. If a match is found, the user-defined input or<br />

output status is used.<br />

• Searches the <strong>CA</strong> <strong>Dynam</strong> Catalog, reading all the versions <strong>for</strong> the data set<br />

name. Matching is done against the <strong>CA</strong> <strong>Dynam</strong> Catalog creation job name<br />

and phase name. If a match is found, the file is assumed to be output.<br />

Otherwise, the file is considered to be input.<br />

• A TLBL with a dtfname of REF indicates the first stack TLBL represents a<br />

reference to a controlled version of the data set. Otherwise the first stack<br />

<strong>for</strong> a particular stack id will cause a scratch tape to be allocated.<br />

Note that after a file is determined to be input, the most current version's<br />

volser is used unless specifically overridden by TLBL options (volseq, volser,<br />

generation).<br />

Example:<br />

TDYNPULL Input Stream<br />

// JOB TDYNPULL JCL DRIVEN PULL LIST<br />

// DLBL WORK1<br />

// EXTENT SYS001, . . .extent in<strong>for</strong>mation. . .<br />

// EXEC TDYNPULL,SIZE=128K<br />

// JOB UPDATE MASTER<br />

// TLBL INMAST,'MASTER.FILE' INPUT<br />

// TLBL OTMAST,'MASTER.FILE' OUTPUT<br />

// TLBL UPDATE,'UPDATE.FILE'<br />

// EXEC UPDATEM<br />

/*<br />

/&<br />

TDYNPULL END<br />

/*<br />

/&<br />

3–34 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!