Creating MSC resource definitions in the IMSRSC repository

You can create MSC resource definitions in the IMSRSC repository for one or more new or existing IMS systems in your IMSplex by using the IMS type-2 CREATE commands.

Before you create MSC resource definitions in the IMSRSC repository, ensure that 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.

Procedure

  1. Issue the CREATE command for the type of MSC resource that you want to create.
    You must create MSC resources in the following order for the MSC link to be usable:
    1. CREATE MSPLINK
    2. CREATE MSLINK
    3. CREATE MSNAME
    4. CREATE LTERM

    The CREATE command must be issued to each IMS in each IMSplex for which the resource definitions are to be exported to the repository. You can use the ROUTE keyword on the OM API to specify the IMS to which the command is routed.

  2. Specify AUTOEXPORT=AUTO or REPO in the DYNAMIC_RESOURCES section of the DFSDFxxx member in the IMS PROCLIB data set.
    At the next IMS checkpoint, the MSC resource definitions that you created since the last automatic export are automatically exported 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.

At the end of the automatic export processing to the IMSRSC repository, the X'22' map byte X'51' automatic export complete 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 'X22' subtype X'51' log record.