Updating MODBLKS resource and descriptor definitions in the IMSRSC repository for a single IMS or for multiple IMSs with unique definitions

You can update MODBLKS resource and descriptor definitions in the IMSRSC repository for a single IMS system or for multiple IMS systems that each need a unique set of definitions.

Procedure

  1. Update the resource and descriptor definitions in each IMS system by using the type-1 or type-2 DRD commands.
    You can update descriptors by using the type-2 UPDATE command.
  2. Export the resource and descriptor definitions from an IMS to the repository by using either the EXPORT DEFN TARGET(REPO) command or the automatic export function.
    • In a non-cloned environment, the EXPORT DEFN TARGET(REPO) command must be issued to each IMS for which the resource definitions and descriptors are to be exported to the repository. Because the EXPORT DEFN TARGET(REPO) command is processed only by the command master IMS, a separate EXPORT DEFN TARGET(REPO) command must be issued to each IMS system. You can use the ROUTE keyword on the OM API to specify the IMS to which the command is routed. You do not have to specify the SET(IMSID()) keyword, because IMS defaults the IMS ID to the command master IMS.

      You can specify the EXPORT DEFN TARGET(REPO) command with OPTION(CHANGESONLY) to export resource and descriptor definitions that were either created or modified since they were last exported to the repository. Optionally you can use the EXPORT DEFN TARGET(REPO) command with a list of resource names and resource types specified, or use the EXPORT DEFN TARGET(REPO) command with the STARTTIME and ENDTIME keywords.

    • To enable automatic export, specify AUTOEXPORT=AUTO or AUTOEXPORT=REPO in the DYNAMIC_RESOURCES section of the DFSDFxxx member in the IMS PROCLIB data set. Automatic export processing is done at the end of each IMS checkpoint. IMS automatically exports any changes in resource definitions for MODBLKS and MSC resources since the last automatic export or the EXPORT DEFN TARGET(REPO) command.