Importing resource and descriptor definitions

With dynamic resource definition (DRD) enabled, you can import resource and descriptor definitions from a resource definition data set (RDDS) or the IMSRSC repository by using the automatic import function or the IMPORT command.

You can also use the IMS Manage Resources application that is available from the IMS Application Menu (option 2) to import resource and descriptor definitions into IMS.

Recommendation: Anticipating that you might eventually have to back out the changes that were made by using the IMPORT DEFN command, perform these tasks:
  • Establish a baseline backout recovery point by issuing an EXPORT DEFN TARGET(RDDS) command to export all existing resources and descriptors to a non-system RDDS. If you must back out system definitions afterwards, you can use this set of resources and descriptors with an IMPORT DEFN command to restore the resources and descriptors.
  • Specify OPTION(ABORT) on the IMPORT DEFN command so that IMS processes the resource definitions as a group. Either all or none of the definitions are imported.
  • If you specify NAME(*) on the IMPORT DEFN command, command responses are returned only for the resource and descriptor names that resulted in an error. Therefore, also specify OPTION(ABORT, ALLRSP) to obtain the command responses for all the resource and descriptor names that are processed.
  • Save the output from the IMPORT DEFN OPTION(ABORT, ALLRSP) command, which lists all the resources and descriptor names, in case you must back out the changes made by the IMPORT command.