Repository maintenance in batch jobs
Sample JCL members for batch repository maintenance
Sample name | Description |
---|---|
DLA#REPA DLP#REPA | Allocate and format the DELTA IMSDELTA PLUS repository data sets |
DLA#REPL DLP#REPL | Produce a DELTA IMSDELTA PLUS repository report |
DLA#REPU DLP#REPU | Run DELTA IMSDELTA PLUS repository maintenance |
DLA#XUT2 DLP#XUT2 | Alter the active configuration date in the DELTA IMSDELTA PLUS repository |
The following sample JCL runs the utility that you use to perform repository maintenance in batch:
//DLA#REPU JOB (ACCT#),BATCH.REP.UTILITIES,CLASS=A,MSGCLASS=A
//*
//*********************************************************************
*
//REPMAINT EXEC PGM=IKJEFT01,
// PARM=DLAGUTL0,DYNAMNBR=16,REGION=0M
//*
//STEPLIB DD DISP=SHR,DSN=BMCNODE.DLALIB
//SYSUT1 DD DSN=&&DLAREPS,DISP=(NEW,DELETE,KEEP),UNIT=SYSDA,
// SPACE=(CYL,(2,2)) <=== MATCH SIZE OF REPOSITORY
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSTSIN DD *
STATUS IIII REP /* IMSID=IIII
PURGE IIII REP /* IMSID=IIII
RECOVER IIII REP /* IMSID=IIII
FORMAT IIII REP /* IMSID=IIII
END
//
//DLP#REPU JOB (ACCT#),REP.UTILITIES,CLASS=A,MSGCLASS=X
//LOGUTIL EXEC PGM=IKJEFT01,
// PARM=DLPGUTL0,DYNAMNBR=16,REGION=2M
//*
//STEPLIB DD DISP=SHR,DSN=BMCNODE.DLPLIB
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSTSIN DD *
FORMAT IIII REP /* IIII = IMSID OR GROUP NAME */
STATUS IIII REP /* IIII = IMSID OR GROUP NAME */
PURGE IIII REP /* IIII = IMSID OR GROUP NAME */
RECOVER IIII REP /* IIII = IMSID OR GROUP NAME */
END
/*
//
DELTA IMS Repository batch commands
Command | Description |
---|---|
FORMAT imsid REP | Clears and formats the repository data sets |
STATUS imsid REP | Displays the current repository data set status |
PURGE imsid REP | Deletes inactive records in the repository |
RECOVER imsid REP | Re-creates the repository or clears error status |
Comments
Log in or register to comment.