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 />

RECORDS (5 5) -<br />

TO (99366) -<br />

REUSE -<br />

NONINDEXED -<br />

SHAREOPTIONS (1) -<br />

SPANNED -<br />

RECORDSIZE (32758 32758) -<br />

VOLUMES (WORK01)) -<br />

DATA (NAME(VTAPE.FILE.@D@) -<br />

CISZ (32768)) -<br />

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

/*<br />

* STEP 2 - ADD LABEL FOR VSAM VTAPE FILE<br />

// OPTION STDLABEL=DELETE<br />

VT0001<br />

/*<br />

// OPTION STDLABEL=ADD<br />

// DLBL VT0001,'VTAPE.FILE',99/366,VSAM,<strong>CA</strong>T=IJSYSUC<br />

/*<br />

* STEP 3 - DEFINE DATASET AND VIRTUAL SCRATCH TAPE TO DYNAM <strong>CA</strong>TALOG<br />

// EXEC DYN<strong>CA</strong>T<br />

DEF 'VTAPE.DATASET' TAPE VIRTAPE=VTAPE VOLID=VT<br />

SCRPOOL VOL=VT0001 VTAPLOC='VSAM' VTAPFILE='VOLSER'<br />

/*<br />

* STEP 4 - CREATE VIRTUAL TAPE<br />

// TLBL SDDLBL,'VTAPE.DATASET'<br />

// UPSI 10000010<br />

// EXEC DYNTEST<br />

50<br />

/*<br />

* STEP 5 - READ VIRTUAL TAPE<br />

// TLBL SDDLBL,'VTAPE.DATASET'<br />

// UPSI 01000000<br />

// EXEC DYNTEST<br />

/*<br />

/&<br />

$$ EOJ<br />

Note: If the VTAPE is a VSAM file, the maximum length of the VTAPE file name<br />

is seven characters; since that is the maximum DLBL name length. Six of the<br />

seven characters must be the volser. In the example above, VT0001 is the<br />

filename passed on the VTAPE START command if virtual scratch tape VT0001<br />

is selected <strong>for</strong> use.<br />

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

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

Saved successfully!

Ooh no, something went wrong!