Creating a shared repository data set for CSM


Note

The information contained in this section is part of Step 5 as described in Accessing-CSM. This section contains a set of procedures that you must complete before using CSM for the first time.

Use the BBSAMP member INITCSM to create and initialize a Shared Repository data set that will contain all defined CSM objects and schedules.

To customize this job stream

  1. Modify the jobcard to installation standards.
  2. Make the following global JCL and SYSIN changes:
    1. Change *HILEVEL* to the high-level qualifier for BMC Software product data sets.
    2. Change *SSID* to the four character subsystem (SSID) name.
    3. Change *VOL* to the volume serial number of the DASD volume on which the linear data set is to be allocated.
  3. Submit the newly modified job stream.After the job stream has run successfully, check for zero return codes for both steps. Additionally, the SYSTSPRT DD should contain output messages. The message CSM REPOSITORY SUCCESSFULLY INITIALIZED should appear at the end of this data set.

    Note

    The space allocations shown in the following figure should be enough for over 2,000 objects on most device types. For more details about space allocation, refer to Calculating-repository-size-for-a-3390.

    BBSAMP member INITCSM Sample JCL

    //INITCSM  JOB ACCOUNT ** MODIFY JOB CARD TO INSTALLATION STANDARDS **
    //*-------------------------------------------------------------------*
    //*                                                                   *
    //*  THIS JCL CREATES AND INITIALIZES THE DATA REPOSITORY USED        *
    //*  BY CSM.  THE CSM REPOSITORY IS A KEYED VSAM DATASET WHICH        *
    //*  CAN BE SHARED BY  ALL MEMBERS OF A CSM-PLEX.                     *
    //*                                                                   *
    //*                                                                   *
    //*-------------------------------------------------------------------*
    //*
    //INITCSM PROC HILEVEL='*HILEVEL*',
    //             SSID='*SSID*',
    //             SYSOUT=*
    //*
    //DEFINE EXEC PGM=IDCAMS,REGION=3M
    //SYSPRINT DD SYSOUT=&SYSOUT
    //*
    //INIT   EXEC PGM=IRXJCL,REGION=3M,
    //            PARM='INITREP'
    //STEPLIB  DD DISP=SHR,DSN=&HILEVEL..BBLINK
    //SYSEXEC  DD DISP=SHR,DSN=&HILEVEL..BBPROC
    //CSMREPDS DD DISP=SHR,DSN=&HILEVEL..&SSID..BBIREPS
    //SYSTSPRT DD SYSOUT=&SYSOUT
    //      PEND
    //*
    //INITIT EXEC INITCSM
    //DEFINE.SYSIN DD *
     DELETE (*HILEVEL*.*SSID*.BBIREPS)
     SET MAXCC=0
     DEFINE CLUSTER( NAME(*HILEVEL*.*SSID*.BBIREPS) -
                KEYS(128 0) -
                RECORDSIZE(14237 14237) -
                SHAREOPTIONS(4 )) -
     DATA( NAME(*HILEVEL*.*SSID*.BBIREPS.DATA) -
                SPEED -
                CISZ(14336) -
                CYL(50,5) -
                VOL(*VOL*)) -
     INDEX( NAME(*HILEVEL*.*SSID*.BBIREPS.INDEX) -
                TRK(10,10) -
                VOL(*VOL*))
     LISTC ENT(*HILEVEL*.*SSID*.BBIREPS) ALL
    /*

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*