Example 5: Reloading an HDAM database in an IMS managed ACBs environment
When the IMS™ management of ACBs is enabled, you can reload a database without specifying the DBD library on the IMS DD statement.
Use the following JCL example to reload a database in an IMS managed ACBs environment.
Figure 1. Example JCL to reload an HDAM database in an IMS managed ACBs environment
//*-------------------------------------------------------------------*
//* IMS HIGH PERFORMANCE LOAD *
//*-------------------------------------------------------------------*
//RELOAD EXEC PGM=HPSRRC00,PARM=(ULU,DFSURGL0,DBSAMP01,,,,,,,,,,,Y,N,
// ,,,,,,,,,,,'DFSDF=CAT')
//STEPLIB DD DISP=SHR,DSN=HPS.SHPSLMD0
// DD DISP=SHR,DSN=ITKBHLQ.SGLXLOAD
// DD DISP=SHR,DSN=IMSESA.RESLIB
//PROCLIB DD DISP=SHR,DSN=IMSESA.PROCLIB
//RECON1 DD DISP=SHR,DSN=IMSESA.RECON1
//RECON2 DD DISP=SHR,DSN=IMSESA.RECON2
//RECON3 DD DISP=SHR,DSN=IMSESA.RECON3
//DFSUINPT DD DISP=(OLD,PASS),DSN=DBSAMP01.UNLOAD
//SYSPRINT DD SYSOUT=A
//SYSUDUMP DD SYSOUT=A
//DBSAMP01 DD DISP=OLD,DSN=DBSAMP01.DATA1
//DFSACBPD DD *
STAGING
//DFSVSAMP DD *
VSRBF=32768,10
IOBF=(32K,10)
/*
//FRRIN DD *
SEARCH=-10
//
In this example:
- DFSDF=CAT parameter is specified on the EXEC statement. This parameter specifies the DFSDFCAT member that enables IMS managed ACBs.
- The name of the IMS.PROCLIB data set in which the DFSDFCAT member exists is specified on the PROCLIB DD statement.
- The name of the SGLXLOAD library of IMS Tools Base is specified on the STEPLIB DD statement.
- The keyword STAGING is specified on the DFSACBPD DD statement. This keyword specifies to reload with the pending changes from the staging data sets in IMS catalog.
- IMS DD is not specified.
If all of the following conditions are met, the catalog database must be registered to the RECON
data sets:
- DBRC=YES
- Database is a non-HALDB
- IMS DD is not specified