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.

Using <strong>CA</strong> <strong>Dynam</strong>/T<br />

SELECT TAPE-FILE ASSIGN TO SYS010-UT-3420-S-MASTER.<br />

SELECT TAPE-OUT ASSIGN TO SYS011-UT-3420-S-MASTER.<br />

Both files are referred to as MASTER, because of the above COBOL<br />

statements. A second OPEN results in the file being treated as uncontrolled,<br />

because <strong>CA</strong> <strong>Dynam</strong>/T requires a separate TLBL <strong>for</strong> each controlled file.<br />

Both files can be controlled if you use the dynamic file name modification<br />

option on the first of the two TLBLs with the file name MASTER:<br />

// TLBL MASTER,'DSN,A'<br />

// TLBL MASTER,'DSN'<br />

or<br />

// TLBL MASTER,'DSN',,,,,,64<br />

// TLBL MASTER,'DSN'<br />

Suppose the logical unit <strong>for</strong> the first of the two files to be opened was SYS010.<br />

At OPEN, <strong>CA</strong> <strong>Dynam</strong>/T would change the file name to SYS0010 in the program<br />

and on the label track.<br />

Note that if you use the DROP option in conjunction with MODIFY, successive<br />

label records (TLBLs) must use the modified file name (in this case, SYS0010).<br />

Tape Reel Length Specification<br />

<strong>CA</strong> <strong>Dynam</strong>/T lets you specify the size of tape reels <strong>for</strong> specific data sets. This<br />

maximizes your magnetic tape resources. You can indicate tape reel length in<br />

any one of the following ways:<br />

• In the Catalog as an attribute of the data set<br />

• As an alphabetic TLBL option in the file-ID field<br />

<strong>CA</strong> <strong>Dynam</strong>/T provides six length codes (XS, S, MS, M, ML, L) ranging from<br />

extra short to long. They allow <strong>for</strong> data sets of various lengths.<br />

The chart below details the permitted length specifications, as defined to the<br />

Catalog using the DYN<strong>CA</strong>T DEFINE statement.<br />

This DYN<strong>CA</strong>T DEFINE<br />

Statement<br />

DEFINE 'ERROR FILE' NGEN=2<br />

LENGTH=XS<br />

DEFINE 'TRANS FILE' NGEN=3<br />

LENGTH=S<br />

Establishes This Tape Length<br />

extra short (200 ft.)<br />

short (400 ft.)<br />

Chapter 2: Maintaining Tape Files 2–39

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

Saved successfully!

Ooh no, something went wrong!