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


Example: SELECT section for IMS from storage class ACS routine

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

Figure 1. SELECT Section for IMS from Storage Class ACS Routine
/**********************************************************************/
/*    Start of IMS Select                                             */
/**********************************************************************/
  WHEN (&DSN = &IMS)                       /*  Select all IMS data    */
    DO                                     /*  sets, including test   */
      SELECT
        WHEN (&DSN = &IMS_PROD_RESTART OR  /*  Dual copy capability   */
              &DSN = &IMS_PROD_QUEUE   OR  /*  for restart, message   */
              &DSN = &IMS_PROD_SMSG    OR  /*  queues data sets       */
              &DSN = &IMS_PROD_LMSG)
          DO
            SET &STORCLAS = 'DBCRIT'
            EXIT
          END
        WHEN (&DSN = &IMS_PROD_WADS   OR   /*  Use DASD fast write    */
              &DSN = &IMS_PROD_OLDS   OR   /*  for write ahead, online*/
              &DSN = &IMS_PROD_SPA)        /*  log and scratch pad    */
          DO                               /*  area                   */
            SET &STORCLAS = 'FASTWRIT'
            EXIT
          END
        WHEN (&DSN = &IMS_PROD_DL1)        /*  Cache DL/1 databases   */
          DO
            SET &STORCLAS = 'FAST'
            EXIT
          END
      OTHERWISE                            /*  Give all other datasets*/
        DO                                 /*  average performance    */
          SET &STORCLAS = 'STANDARD'
          EXIT
        END

      END

    END
/**********************************************************************/
/*    End of IMS Select                                               */
/**********************************************************************/

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014