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.

Operator Device Switching Facility<br />

Requirements<br />

For operator switching to be active:<br />

• The FISWTCH option of the DYNAM/FI option record must be specified at<br />

installation time. For more in<strong>for</strong>mation, see the DYNAM/FI option record in<br />

the Programming <strong>Guide</strong>.<br />

• There must be full Catalog support (<strong>CA</strong>TALOG(YES) in the DYNAM/FI<br />

option record).<br />

• Each file <strong>for</strong> which switching is to be permissible must be defined in the<br />

Catalog with DYNAMFI(YES) and with a device type of FI instead of either<br />

TAPE or DISK. (See the description of DYN<strong>CA</strong>T.)<br />

• The Catalog entry must contain all in<strong>for</strong>mation to create either a tape or<br />

disk file. This includes all options that affect <strong>CA</strong> <strong>Dynam</strong>/D, <strong>CA</strong> <strong>Dynam</strong>/T,<br />

and <strong>CA</strong> <strong>Dynam</strong>/FI.<br />

Operation<br />

The device type selected by <strong>CA</strong> <strong>Dynam</strong>/FI is, as always, determined by the<br />

label type (TLBL or DLBL). If, when presented with a tape mount message or<br />

DASD space recovery options, the operator specifies a switch to the other<br />

device type by responding DISK or TAPE, respectively. <strong>CA</strong> <strong>Dynam</strong>/FI will do<br />

the following:<br />

• Replace the existing TLBL or DLBL with a label record of the opposite type.<br />

• Reinitiate the OPEN request.<br />

Since the replacement label record has only the minimal required in<strong>for</strong>mation,<br />

the Catalog record must have all disk allocation values as well as all tape<br />

options. In effect, all files eligible <strong>for</strong> switching must be completely catalogdriven.<br />

DEFALLOC may be used in the absence of disk allocation values.<br />

When switched files are processed as input, <strong>CA</strong> <strong>Dynam</strong>/FI recognizes that<br />

switching has been done and, if necessary, overrides the TLBL or DLBL<br />

statement in the job stream so the file may be accessed properly. In this case,<br />

all data needed to process the file is recorded in the Catalog when the file is<br />

created.<br />

If a data file is defined as a generation data set, it is permissible <strong>for</strong> different<br />

generations to reside on different device types. Again, the Catalog has all the<br />

in<strong>for</strong>mation needed <strong>for</strong> proper processing of any specified generation.<br />

Chapter 6: Controlling File Independence 6–35

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

Saved successfully!

Ooh no, something went wrong!