Previous Topic

Next Topic

Book Contents

Book Index

CTTSBD Example 4

This example performs a run of the CTTSBD utility in simulation mode. In this run, copying of all the site’s data sets from 3490 cartridges to 3590 cartridges is simulated. New names are assigned to the output data sets.

Data set groups are determined according to first letter of each input data set name.

SYSIN DD Statement – Example 4A

TYPERUN MODE=SIMULATION,INRET=SAME,

        OUTRET=7,OUTPREF=TST3590,

        OUTSUFF=TST,COPYEXPF=YES,

        OUTMVLIM=20,MAXLABEL=999,

        VAULTED=NO,CARTCOST=1,

        INUNIT=3490,OUTUNIT=3590,

        MAXERR=30,OUTCAT=YES,

        COPYATTR=YES,CHAINRET=ANY,

        OUTVOLMB=30000

INCLUDE DSNAME=*   

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

Although the NOTWGRP statements in these data set group definitions may appear redundant, they are included to protect each group definition from new or modified group definitions (specifying current group names in WITHGRP statements) that can be added to the file.

GROUP NAME=GROUP-A

   DATASET DSNAME=A*

   WITHGRP NAME=SAME

   NOTWGRP NAME=OTHER

GROUP NAME=GROUP-B

   DATASET DSNAME=B*

   WITHGRP NAME=SAME

   NOTWGRP NAME=OTHER

GROUP NAME=GROUP-C

   DATASET DSNAME=C*

   WITHGRP NAME=SAME

   NOTWGRP NAME=OTHER

.

.

.

GROUP NAME=GROUP-Z

   DATASET DSNAME=Z*

   WITHGRP NAME=SAME

   NOTWGRP NAME=OTHER

Parent Topic

Examples for CTTSBD