Allocating RS catalog repository data sets

The Repository Server (RS) catalog repository data sets must be allocated before allocating the IMSRSC repository data sets.

The RS catalog repository provides the link between the repository name and VSAM data sets. Like any other repository, the RS catalog repository consists of 2 pairs of VSAM key-sequenced data sets (KSDSs), a primary pair and a secondary pair of repository index data sets (RIDs) and repository member data sets (RMDs). The RS catalog repository does not support a third or spare data set pair.

The following JCL shows how to allocate the RS catalog repository data sets:

//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.CATPRI.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.CATPRI.RID.DATA)) -
INDEX(NAME(IMSTESTS.FRP1.CATPRI.RID.INDEX))

DEFINE CLUSTER(NAME(IMSTESTS.FRP1.CATPRI.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.CATPRI.RMD.DATA)) -
INDEX(NAME(IMSTESTS.FRP1.CATPRI.RMD.INDEX))

DEFINE CLUSTER(NAME(IMSTESTS.FRP1.CATSEC.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.CATSEC.RID.DATA)) -
INDEX(NAME(IMSTESTS.FRP1.CATSEC.RID.INDEX))

DEFINE CLUSTER(NAME(IMSTESTS.FRP1.CATSEC.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.CATSEC.RMD.DATA)) -
INDEX(NAME(IMSTESTS.FRP1.CATSEC.RMD.INDEX))