27.04.2013 Views

MVS Jan 2005.p65 - CBT Tape

MVS Jan 2005.p65 - CBT Tape

MVS Jan 2005.p65 - CBT Tape

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.

SYSPUNCH DD DSN=JXB7884.SYSIN2,DISP=SHR<br />

//PUNMASK DD *<br />

<br />

/*<br />

//SYSIN DD *<br />

SELECT VOLG=DB2<br />

PUNCH FDRLIB=PUNMASK<br />

PRINT RPTYPE=SELPCH<br />

Once created, the dataset JXB7884.SYSIN2 will contain all<br />

the dataset names to be moved. It will also contain the<br />

***VTOC and SYS1.VTOCIX dataset names for each volume<br />

processed and the SYS1.VVDS that pertains to these volumes.<br />

A subset of the contents of JXB7884.SYSIN2 is shown below:<br />

****VTOC<br />

DB2.DSNDBD.DH2L.XMØ.IØØØ1.AØØ1<br />

DB2.DSNDBD.DH5I.XM2.IØØØ1.AØ32<br />

DB2.DSNDBD.DH2A.ST.IØØØ1.AØØ6<br />

DB2.DSNDBD.DH2I.XLMØ.IØØØ1.AØØ1<br />

SYS1.VTOCIX.DB2ØØ1<br />

SYS1.VVDS.VDB2ØØ1<br />

The edit macro, MKCARDS, runs against the JXB7884.SYSIN2<br />

dataset. It performs the following functions:<br />

1 Removes any lines containing the word VTOC.<br />

2 Removes any lines containing the word VVDS.<br />

3 Changes the DB2 dataspace names to the VSAM cluster<br />

names.<br />

4 Inserts the DSS start INCLUDE card as line 1.<br />

5 Suffixes all lines with a DSS continuation character of ‘-’.<br />

6 Inserts closing bracket for the DSS control cards as the<br />

last line of the dataset.<br />

On completion, the input will be formatted like this:<br />

INC ( -<br />

DB2.DSNDBC.DH2L.XMØ.IØØØ1.AØØ1 -<br />

DB2.DSNDBC.DH5I.XM2.IØØØ1.AØ32 -<br />

DB2.DSNDBC.DH2A.ST.IØØØ1.AØØ6 -<br />

DB2.DSNDBC.DH2I.XLMØ.IØØØ1.AØØ1 -<br />

)<br />

8 © 2005. Xephon USA telephone (214) 340 5690, fax (214) 341 7081.

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

Saved successfully!

Ooh no, something went wrong!