Previous Topic

Next Topic

Book Contents

Book Index

CTTSBD Example 2

This example unstacks all multi-volume chains that contain at least one data set beginning with a prefix of ACCT and whose last volumes are less than 10% utilized.

SYSIN DD Statement – Example 2A

TYPERUN MODE=NORMAL,INRET=2,

        OUTRET=SAME,OUTPREF=NONE,

        OUTSUFF=NONE,COPYEXPF=NO,

        OUTMVLIM=1,MAXLABEL=1,

        VAULTED=NO,CARTCOST=10,

        INUNIT=460,OUTUNIT=461,

        MAXERR=30,OUTCAT=RECAT,

        COPYATTR=YES,CHAINRET=ANY,

        OUTVOLMB=200

INCLUDE DSNAME=ACCT*,VOLSEQ>1,VOLPCT<10

CTTSBGRP DD Statement (Data Set Group Definitions) – Example 2B

The site’s standard group definitions can be included in this file. Unstacking is indicated by setting parameter MAXLABEL to 1 (specified in the TYPERUN Statement) and there is therefore no need for additional group definitions.

GROUP NAME=ANY

   DATASET DSNAME=*

Parent Topic

Examples for CTTSBD