Overview of dynamic resource definition
With dynamic resource definition (DRD), you can use type-2 commands to define MODBLKS resources such as application programs, databases, routing codes, and transactions, and resource descriptors, and MSC resources such as definitions for MSC physical links, logical links, logical link paths, and remote logical terminals.
MODBLKS resources
With DRD enabled, the APPLCTN, DATABASE, RTCODE, and TRANSACT macros are optional. If you do not code these macros as part of the system definition process, you can either import resource definitions into IMS from a resource definition data set (RDDS) or an IMSRSC repository, or you can use type-2 commands to define resources to IMS dynamically (instead of using online change).
For IMS systems in which DRD is not enabled or unavailable, after IMS initialization, you use the online change process to add, change, and delete resource definitions dynamically. The online change process requires that you:
- Generate the resource definitions and store them in an IMS.MODBLKS staging library data set
- Run the Online Change Copy utility (DFSUOCU0) to copy the staging library into an inactive library
- Run a series of online change commands to cause the change to take effect (see the figure below)
To change some resources online (for example, resources in IMS.ACBLIB), you cannot use DRD and must use the online change process.
MSC resources
For IMS systems in which DRD for MSC resources is not enabled or is unavailable, you must use the MSPLINK, MSLINK, MSNAME, and NAME macros, along with the batch system definition process, to create the resource definitions for these resources, and store them in the IMS.DFSCLL3x and IMS.DFSCLL data sets. The following figure shows the control block generation process for MSC resources.