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


Example: SELECT section for DB2 from storage class ACS routine

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

Figure 1. SELECT Section for DB2 from Storage Class ACS Routine
/**********************************************************************/
/*    Start of DB2 Select                                             */
/**********************************************************************/
  WHEN (&DSN = &DB2)                       /*  Select DB2 data sets   */
    DO
      SELECT
        WHEN (&DSN = &DB2_PROD_LOG)        /*  Use fast write for     */
          DO                               /*  active logs            */
            SET &STORCLAS = 'FASTWRIT'
            EXIT
          END
        WHEN (&DSN = &DB2_PROD_CATALOG OR  /*  Dual copy for catalog  */
              &DSN = &DB2_PROD_DIRECTRY OR /*  directory and boot     */
              &DSN = &DB2_PROD_BSDS)       /*  strap data set         */
          DO
            SET &STORCLAS = 'DBCRIT'
            EXIT
          END
      OTHERWISE                            /*  Give all other DB2 data*/
        DO                                 /*  average performance    */
          SET &STORCLAS = 'STANDARD'
          EXIT
        END

      END

    END

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014