z/OS DFSMS Implementing System-Managed Storage
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Writing the Storage Class ACS Routine

z/OS DFSMS Implementing System-Managed Storage
SC23-6849-00

You can use the data classes established during your implementation of tape mount management to control the categories of tape data sets that are allocated on system-managed tape volumes. The tape data classes named TAPxxxx define the data sets that are inhibited from tape mount management. You can place these tape volumes under system management by tailoring the filter lists developed for these categories so that more of these data sets are system-managed. Figure 1 shows the processing for tape data sets that are not system-managed. The storage class ACS routine must be changed to assign a storage class toDFSMShsm-owned volumes and tape data sets. One way to do this is to eliminate the statements that assign the null storage class. This results in the STANDARD storage class being assigned by the OTHERWISE statement at the end of the storage class ACS routine.

Figure 1. Storage Class Routine Fragment for Tape Data
  WHEN (&HLQ = &HSM_HLQ &&                 /*  Do not manage data sets*/
        &DSN(2) = &HSM_2LQ)                /*  on ML1, ML2            */
    DO
      SET &STORCLAS = ''
      EXIT
    END
  WHEN (&DATACLAS = &TAPE_DATA_CLASS)      /*  Do not manage "large"  */
    DO                                     /*  or offsite tape data   */
      SET &STORCLAS = ''                   /*  sets                   */
      EXIT
    END
                                  .
OTHERWISE
  DO
    SET &STORCLAS = 'STANDARD'
    EXIT
  END
END

END  /* END OF STORAGE CLASS ROUTINE PROC */

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014