Allocating the IMSRSC repository data sets

After the Repository Server (RS) address space is started, and before the Resource Manager (RM) is started with the IMSRSC repository enabled, the IMSRSC repository data sets must be created, and the repository must be added to the RS catalog repository.

The repository information is defined once to the RS catalog repository.

Perform the following steps to allocate the repository data sets:

Procedure

  1. Run JCL to create the repository data sets.
    The following is an example of the JCL to run:
    //FRPCREATE JOB ,USER,CLASS=A,MSGCLASS=X,NOTIFY=USER
    //_ +-------------------------------------------------------------
    //_ | SAMPLE JCL TO ALLOCATE REPOSITORY DATA SETS
    //_ +-------------------------------------------------------------
    //ALLOCATE EXEC PGM=IDCAMS                 
    //SYSPRINT DD SYSOUT=A                     
    //SYSIN    DD *                            
    DEFINE CLUSTER(NAME(IMSTESTS.FRP1.IMSPRI.RID) -
    REUSE -
    INDEXED -
    KEYS(128 0) -
    CYLINDERS(1 1) -
    SHAREOPTIONS(2 3) -
    FREESPACE(10 10) -
    RECORDSIZE(282 282) -
    CONTROLINTERVALSIZE(8192) -
    VOL(DSHR03) ) -
    DATA(NAME(IMSTESTS.FRP1.IMSPRI.RID.DATA)) -
    INDEX(NAME(IMSTESTS.FRP1.IMSPRI.RID.INDEX))
    
    DEFINE CLUSTER(NAME(IMSTESTS.FRP1.IMSPRI.RMD) -
    REUSE -
    INDEXED -
    KEYS(12 0) -
    CYLINDERS(1 1) -
    SHAREOPTIONS(2 3) -
    FREESPACE(20 20) -
    RECORDSIZE(8185 8185) -
    CONTROLINTERVALSIZE(8192) -
    VOL(DSHR03) ) -
    DATA(NAME(IMSTESTS.FRP1.IMSPRI.RMD.DATA)) -
    INDEX(NAME(IMSTESTS.FRP1.IMSPRI.RMD.INDEX))
    
    DEFINE CLUSTER(NAME(IMSTESTS.FRP1.IMSSEC.RID) -
    REUSE -
    INDEXED -
    KEYS(128 0) -
    CYLINDERS(1 1) -
    SHAREOPTIONS(2 3) -
    FREESPACE(10 10) -
    RECORDSIZE(282 282) -
    CONTROLINTERVALSIZE(8192) -
    VOL(DSHR03) ) -
    DATA(NAME(IMSTESTS.FRP1.IMSSEC.RID.DATA)) -
    INDEX(NAME(IMSTESTS.FRP1.IMSSEC.RID.INDEX))
    
    DEFINE CLUSTER(NAME(IMSTESTS.FRP1.IMSSEC.RMD) -
    REUSE -
    INDEXED -
    KEYS(12 0) -
    CYLINDERS(1 1) -
    SHAREOPTIONS(2 3) -
    FREESPACE(20 20) -
    RECORDSIZE(8185 8185) -
    CONTROLINTERVALSIZE(8192) -
    VOL(DSHR03) ) -
    DATA(NAME(IMSTESTS.FRP1.IMSSEC.RMD.DATA)) -
    INDEX(NAME(IMSTESTS.FRP1.IMSSEC.RMD.INDEX))
    
    DEFINE CLUSTER(NAME(IMSTESTS.FRP1.IMSSPR.RID) -
    REUSE -
    INDEXED -
    KEYS(128 0) -
    CYLINDERS(1 1) -
    SHAREOPTIONS(2 3) -
    FREESPACE(10 10) -
    RECORDSIZE(282 282) -
    CONTROLINTERVALSIZE(8192) -
    VOL(DSHR03) ) -
    DATA(NAME(IMSTESTS.FRP1.IMSSPR.RID.DATA)) -
    INDEX(NAME(IMSTESTS.FRP1.IMSSPR.RID.INDEX))
    
    DEFINE CLUSTER(NAME(IMSTESTS.FRP1.IMSSPR.RMD) -
    REUSE -
    INDEXED -
    KEYS(12 0) -
    CYLINDERS(1 1) -
    SHAREOPTIONS(2 3) -
    FREESPACE(20 20) -
    RECORDSIZE(8185 8185) -
    CONTROLINTERVALSIZE(8192) -
    VOL(DSHR03) ) -
    DATA(NAME(IMSTESTS.FRP1.IMSSPR.RMD.DATA)) -
    INDEX(NAME(IMSTESTS.FRP1.IMSSPR.RMD.INDEX))
  2. Define the repository to the RS by using the FRPBATCH ADD command.
    This step enables RM to connect to the repository.