After performing the initial verification of your IMS environment, you can enable dynamic
resource definition (DRD) for MODBLKS resources with an IMSRSC repository.
To enable IMS to
use dynamic resource definition (DRD) with a repository:
Procedure
- Shut down IMS normally.
- Change MODBLKS=OLC to MODBLKS=DYN in either the COMMON_SERVICE_LAYER
section of the DFSDFxxx member or in the DFSCGxxx member in the IMS PROCLIB data set.
- In the DYNAMIC_RESOURCES section of the DFSDFxxx
member of the IMS PROCLIB data
set, specify AUTOIMPORT=AUTO or AUTOIMPORT=REPO.
- In the DYNAMIC_RESOURCES
section of the DFSDFxxx member of the IMS PROCLIB
data set, you can optionally specify AUTOEXPORT=AUTO or AUTOEXPORT=REPO.
- In the REPOSITORY section of the DFSDFxxx
member of the IMS PROCLIB data
set, specify the TYPE=IMSRSC keyword.
- Cold start IMS, specifying
DFSDF=xxx in the control region execution
parameters, where xxx identifies the suffix
of the DFSDFxxx member of the IMS PROCLIB
data set that IMS uses for this
startup.
If AUTOIMPORT=AUTO
is specified in the DFSDFxxx member, IMS loads
the resource definitions from the IMS.MODBLKS data set, if it exists,
because the defined repositories are empty and there are no system
resource definition data sets (RDDS). The IMS.MODBLKS data set is
used only the first time you implement DRD, except for fallback purposes. IMS uses the resource definitions
to create the internal control blocks required to manage the resources.
If AUTOIMPORT=REPO is specified, IMS cold
starts without any resource definitions because the defined repository
is empty.
- When IMS is
started, issue the EXPORT DEFN TARGET(REPO) command
to export the resource definitions to the repository.
Note: After IMS starts with DRD enabled, you
can no longer use the online change process to add, change, or delete
database, application program, route code, or transaction resources
or resource definitions. Also, because AUTOIMPORT=AUTO or AUTOIMPORT=REPO
is specified and the repository is no longer empty, IMS loads its resource and descriptor definitions
from the repository the next time that IMS cold
starts.