Exporting MSC resource definitions to an IMSRSC repository

You can export MSC resource definitions from IMS to an IMSRSC repository by using the automatic export function and have the resources defined for one or more new or existing IMS systems in your IMSplex.

Before you export MSC resource definitions to the repository, ensure that all of the following prerequisites are met:
  • The IMSRSC repository is defined.
  • Dynamic resource definition for MSC resources is enabled.
  • The IMSRSC repository is enabled for MSC resources.
  • MODBLKS=DYN is specified in either or both of the following locations:
    • The COMMON_SERVICE_LAYER section of the DFSDFxxx PROCLIB member
    • The DFSCGxxx member of the IMS PROCLIB data set
The exported resource definitions overwrite the existing definitions in the repository for the IMS.

Procedure

  1. Optional: Check for and identify which resource definitions have not yet been exported to the IMSRSC repository by issuing the QUERY rsc_type SHOW(EXPORTNEEDED) command. rsc_type can be one of the following resources and resource descriptors: DB, DBDESC, LTERM, MSLINK, MSNAME, MSPLINK, PGM, PGMDESC, RTC, RTCDESC, TRAN, or TRANDESC.
  2. Specify AUTOEXPORT=AUTO or AUTOEXPORT=REPO in the DYNAMIC_RESOURCES section of the DFSDFxxx member of the IMS PROCLIB member.

    At the next IMS checkpoint, IMS automatically exports the newly created or updated resource definitions since the last automatic export to the IMSRSC repository. The IMS checkpoint can be initiated either by issuing the /CHECKPOINT command or automatically by the IMS system.

    If you use the /CHECKPOINT command to initiate an IMS checkpoint, the command must be routed to each IMS in each IMSplex in which the MSC resources are defined.

  3. If errors occurred during automatic export processing, issue the QUERY rsc_type SHOW(EXPORTNEEDED) command to display the resource definitions that have not been exported to the IMSRSC repository. Then, you can either wait for the next IMS checkpoint or issue the /CHECKPOINT command for the MSC resource definitions to be automatically exported to the IMSRSC repository.

At the end of the automatic export to the IMSRSC repository, the X'22' subtype X'51' log record is written. The log record indicates the IMS IDs that the exported definitions are defined for. A count of the resources that were exported for each resource type is also included in the X'22' subtype X'51' log record.