MVS Jan 2005.p65 - CBT Tape
MVS Jan 2005.p65 - CBT Tape
MVS Jan 2005.p65 - CBT Tape
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Splitting PDSs<br />
Did you ever want to split off a portion of a PDS for testing? Or<br />
have you ever wanted to break up a PDS into a number of<br />
smaller PDSs so you could run multiple quick jobs instead of<br />
one long job?<br />
The two biggest reasons I can remember for writing PDSSPLIT<br />
were using the CICS Load Module scanner (DFHEISUP) and<br />
AMBLIST against large PDSs. PDSSPLIT allowed me to get<br />
my results in a fraction of the time and avoided memory usage<br />
problems encountered with both programs. Since creating<br />
PDSSPLIT, I have found many other uses for it.<br />
PDSSPLIT will generate new unique datasets for all the<br />
subsets and leave the original dataset intact. PDSSPLIT<br />
simply builds IEBCOPY control cards and invokes IEBCOPY<br />
to perform the copies. PDSSPLIT has three modes:<br />
ALPHA – create new datasets based on the first character<br />
of the member name.<br />
EVEN – create new datasets and evenly distribute the<br />
members across the number specified (default is 10).<br />
nn – create as many datasets as necessary to place nn<br />
members in each.<br />
Sample JCL to run PDSSPLIT:<br />
//jobcard…<br />
//***************************************************************<br />
//* SPLIT A PDS *<br />
//* *<br />
//* OPTION=ALPHA 1 DSN FOR EACH UNIQUE FIRST CHARACTER OF *<br />
//* THE MEMBER NAME *<br />
//* OPTION=EVEN SPLIT INTO 1Ø EQUAL DSNS (SAME AS EVEN 1Ø) *<br />
//* OPTION='EVEN NN' SPLIT INTO 'NN' EQUAL DSNS *<br />
//* OPTION=NN SPLIT INTO DSNS EACH HOLDING NN MEMBERS *<br />
//***************************************************************<br />
//PDSSPLIT PROC<br />
//PDSSPLIT EXEC PGM=IKJEFTØ1,DYNAMNBR=99,PARM='PDSSPLIT &OPTION'<br />
//SYSEXEC DD DSN=yourid.EXEC,DISP=SHR<br />
48 © 2005. Xephon USA telephone (214) 340 5690, fax (214) 341 7081.