Managing resource and descriptor definitions
With dynamic resource definition (DRD) enabled, you can perform several tasks to manage the resource and descriptor definitions for your IMS system.
- Create application program, database, routing code, transaction resources, or descriptors
- Update resources or descriptors
- Delete resources or descriptors
- Query definitional attributes of resources or descriptors (by using the QUERY command)
- Export resource and descriptor definitions from IMS to a resource definition data set (RDDS) or an IMSRSC repository
- Import resource and descriptor definitions from an RDDS or a repository into IMS, which creates new resources and descriptors and updates existing resources and descriptors
With DRD, you can also create, update, and delete MSC resources (LTERM, MSLINK, MSNAME, MSPLINK), but cannot import them. MSC resources do not support RDDS or the EXPORT command.
Issue the type-2 commands from a single point of control (SPOC) application (for example, the TSO SPOC that is shipped with IMS). You can also use the IMS Manage Resources application that is available from the IMS Application Menu (option 2).
- DFSDSDB1 (database descriptor)
- DFSDSPG1 (application program descriptor)
- DBFDSRT1 (Fast Path routing code descriptor)
- DFSDSTR1 (transaction descriptor)
You can use the IMS-supplied descriptors as models for creating resources or additional descriptors. You can also create descriptors without modeling them after existing descriptors. Initially, the IMS-supplied descriptors are set as the default descriptors, but you can designate one of your own descriptors as the default by using the DEFAULT(Y) keyword on the CREATE or UPDATE command.
When you create a resource without specifying a model (that is, you do not specify the LIKE keyword), any attribute values that are not specified on the CREATE command are inherited from the default descriptor. When you create a resource that is modeled from a descriptor (using the LIKE keyword), any attribute values that are not specified on the CREATE command are inherited from the descriptor.
Similarly, when you create a resource using an existing resource as a model (using the LIKE keyword), any attribute values that are not specified on the CREATE command are inherited from the existing resource.
IMS systems can export resources that are defined by the batch system definition process and resource definitions that have been created or updated dynamically, to an RDDS or an IMSRSC repository, by using the EXPORT DEFN command. You can also set up your system for automatic export to an RDDS or an IMSRSC repository.
These resource definitions can then be imported from the RDDS into an IMS system during a cold start. To ensure that your changes are recovered across a cold start: export all IMS definitions to an RDDS or repository before shutting it down. For RDDSs, you can also set up your system to automatically export your resource and descriptor definitions at checkpoint time. Set up your system to automatically import the definitions from the RDDS or repository during cold start processing.
In situations when IMS receives a message for an unknown destination, you can also use the Destination Creation exit routine (DFSINSX0) to define a new transaction to IMS for that message and, if necessary, define the application program that is associated with the transaction.
Help
------------------------------------------------------------------------------
SPOC IMS Manage Resources
Command ===>
Select an action and press Enter.
* Action . . . . . . 1. Create new resources
2. Delete resources
3. Query resources
4. Update resources
5. Import resources
6. Export resources
7. Manage RDDS