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.

IBM Virtual Tape Facility (VTAPE) Support<br />

If <strong>CA</strong> <strong>Dynam</strong>/T automatically creates a virtual tape, the logical unit must be<br />

unassigned when a single file or the first file of a multi-file set is opened. If the<br />

logical unit is preassigned, message <strong>CA</strong>DT107D is issued. At that point, the<br />

operator can either release the assignment by replying 'REL' to the <strong>CA</strong>DT107D<br />

message or cancel the job. The only time the logical unit can be preassigned is<br />

if other than file one of a multi-file set is being opened and the previous file<br />

used the HOLD option. See the section entitled "IBM limitation when writing to<br />

VSAM Virtual Tapes" <strong>for</strong> more in<strong>for</strong>mation and an example on how to create<br />

multi-file VSAM VTAPE files.<br />

Precautions <strong>for</strong> Virtual Tapes<br />

The following precautions need to be taken when using virtual tapes:<br />

• Due to a conflict between the JCLIF macro interface and POWER, do not<br />

create or read POFFLOAD tapes using the automatic VTAPE interface.<br />

• To prevent simultaneous use, <strong>CA</strong> <strong>Dynam</strong>/T locks virtual CUUs. An internal<br />

method of locking is used, which requires no additional setup or options to<br />

be set. To unlock a virtual CUU that remains locked due to cancellation or<br />

abnormal termination of a job, use the new AR command DT READY<br />

VCUU=cuu. The AR command DT STATUS shows NOT AVRABLE next to<br />

any virtual CUU currently in locked status.<br />

• To reduce the amount of I/O when searching the catalog <strong>for</strong> an eligible<br />

virtual scratch tape, specify the VOLID parameter <strong>for</strong> data sets that are to<br />

be written to virtual tapes. If a data set is defined with a VOLID, <strong>CA</strong><br />

<strong>Dynam</strong>/T per<strong>for</strong>ms a generic search looking only <strong>for</strong> volumes where the<br />

first two characters match the specified VOLID. For example, if there are<br />

no eligible virtual scratch tapes in the catalog, and no VOLID is specified,<br />

every volume in the catalog will be accessed. However, if a VOLID is<br />

specified, then only the volumes whose first two characters match the<br />

VOLID will be accessed. Using the VOLID parameter limits searches only to<br />

virtual volumes, thus reducing unnecessary catalog I/O.<br />

• To use VSAM and FakeTape files as virtual tapes, you must define them<br />

be<strong>for</strong>e they can be used by <strong>CA</strong> <strong>Dynam</strong>/T. For details about defining files to<br />

be used as virtual tapes, see IBM or FakeTape documentation.<br />

Example<br />

The following is an example of how to create and read a VTAPE that will reside<br />

in a VSAM file:<br />

* $$ JOB JNM=VTAPE,CLASS=0,DISP=D<br />

// JOB VTAPE CREATE VIRTUAL TAPE FILE<br />

* STEP 1 - DEFINE VTAPE VSAM CLUSTER<br />

// EXEC ID<strong>CA</strong>MS,SIZE=AUTO<br />

DELETE (VTAPE.FILE) PURGE CL -<br />

<strong>CA</strong>TALOG(VSAM.USER.<strong>CA</strong>TALOG)<br />

DEFINE CLUSTER (NAME(VTAPE.FILE) -<br />

Chapter 3: Supporting Tape File Management 3–59

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

Saved successfully!

Ooh no, something went wrong!