Previous Topic

Next Topic

Book Contents

Book Index

Example 2

In this example, tape data set DSN.WEEKLY is assigned to pool WEEKBKP, and Management Class KEEPMNTH is assigned to this data set in the Control-M/Tape Media Database (MDB).

Note that the same Storage Class (CTTSC) is assigned to all tape data sets. It is assigned only to enable DFSMS invoke a Management Class ACS routine.

A different Management Class is assigned for each value of the &ACSENVIR parameter.

During mount processing for data set DSN.WEEKLY, Management Class WEEK is assigned to this data set. Rule 1 assigns pool WEEKBKP to this Management Class.

During open processing for this data set, Management Class KEEPMNTH is assigned to this data set and this information is recorded in the Media Database. Rule 2 causes the volume of this data set to be vaulted in vault SAFE for 10 days.

Figure 48 Storage Class Adjustments

/*******************************/

/* DEFINE TAPE UNIT NAMES      */

/*******************************/

FILTLIST TAPES INCLUDE(’0420’,’0421’,’0460’,’0461’)

/******************************************/

/* SET A STORAGE CLASS FOR TAPE DATASETS  */

/******************************************/

WHEN (&ACSENVIR='CTTOPEN' && UNIT=&TAPES)

SET &STORCLAS = 'CTTSC'

WHEN (&ACSENVIR='CTTMNTV' && UNIT=&TAPES)

SET &STORCLAS = 'CTTSC'

Figure 49 Management Class Adjustments

/***********************************************************/

/* SET A MANAGEMENT CLASS FOR TAPE  'DSN.WEEKLY' DATASETS  */

/***********************************************************/

WHEN (&ACSENVIR='CTTOPEN' &&  &DSN='DSN.WEEKLY')

SET &MGMTCLAS = 'KEEPMNTH'

WHEN (&ACSENVIR='CTTMNTV' &&  &DSN='DSN.WEEKLY')

SET &MGMTCLAS = 'WEEK'

Figure 50 Control-M/Tape Rule 1

ON MGMTCLAS  = WEEK      And/Or/Not A

ON DATASET   = *

========================

DO POOL      = WEEKBKP

Figure 51 Control-M-M/Tape Rule 2

ON MGMTCLAS  = KEEPMNTH And/Or/Not A

ON DATASET   = *

=======================

DO VAULT     = SAFE

UNTIL DAYS 0010

Parent Topic

Examples