Previous Topic: How Parent-Child Relationships Between Resources Work

Next Topic: Primary and Alternate Relationships

Relate a Resource with Other Resources

When you have defined the resources in a system image, you can define the relationships between the resources. You can define relationships between resources in the local system image, and between resources in a local system image and a shared system image with the same home system.

Example: Make a DB2 Resource the Child of a CICSD Resource

You want to make a DB2 started task the child of a CICSD resource.

To define the relationship

  1. Enter R beside the CICSD resource in the resource list.

    The Existing Relationships List panel displays. The following panel shows that JES2 is defined as a parent of CICSD:

     SOLVPROD----- ResourceView : CICSD Existing Relationships List ---EASTTEST-0001 Command ===> Scroll ===> 10 R=Existing Related UP=Unlink Primary UA=Unlink Alternate U=Unlink Name System Image Class Primary Alternate JES2 EASTTEST0001 STC PARENT CICSD EASTTEST0001 STC SELF SELF **END**

  2. Press F11 (Relate).

    A selection list of the resource classes is displayed.

  3. Enter S beside the STC class.

     SOLVPROD-------- Automation Services : Resource Class List -------------------- Command ===> Scroll ===> 10 Use 'S' to select class(es) from which to relate resources Class Description DASD Direct Access Device INIT JES Initiator INTNL Automation Services Internal JES Job Entry Subsystem JOB Batch Job LINE JES Line PRT Printer SPOOL JES Spool s STC Started Task SVC Service TAPE Tape or Cartridge USRCLS User Class Resource

    A list of all started tasks in the system appears.

  4. Enter C next to a DB2 resource to define it as a child of CICSD.

     SOLVPROD---------- ResourceView : Relate Resources to CICSD -------EASTTEST-0001 Command ===> Scroll ===> 10 P=Parent PP=Primary Parent AP=Alternate Parent UP=Unlink Primary U=Unlink C=Child PC=Primary Child AC=Alternate Child UA=Unlink Alternate Name System Image Class Primary Alternate JES2 EASTTEST0001 STC PARENT CICSD EASTTEST0001 STC SELF SELF BACKUP EASTTEST0001 STC c DB2 EASTTEST0001 STC DFHSM EASTTEST0001 STC

    The updated list of resource relationships appears. The relationships show CICSD as the parent and DB2 as the child.