Adding resource definitions to a resource group

There are several ways to create an association between a resource definition and a resource group. Both definitions must exist in the data repository before you can create the association.

Adding a definition when it is created
You can automatically associate a resource definition with a resource group when the definition is created by identifying the group in the Resource group name field. This is a standard field on the create panel for each resource type.
When you create CICS Definitions using the batched repository-update facility or API you can add them to an existing resource group by using the RESGROUP parameter. The CREATE command for each CICS Definition object (such as CONNDEF) supports the following parameter:
RESGROUP(resgroup)
(Optional) Specify the name of an existing resource group to which the CICS Definition should be added.
Adding individual or multiple definitions
Using the WUI, you can add one or more existing resource definitions of a given type to a group by selecting the definition or definitions on a resource definition tabular view and clicking the Add to resource group button.
Using a model resource group
Once a resource group is defined and populated with resource definitions, you can use that group as a model to populate other resource groups. When you create a new resource group, you have the option of specifying:
  • A resource group whose resource definitions are to be used as a model by the newly created group.
  • Which definitions are to be copied from the model group:
    • The actual resource definitions (to create an additional set of resources)
    • The associations between the model group and existing resources
Note: Adding a resource definition to a resource group could result in inconsistent resource set errors. For information about this type of problem and how to resolve it, see Validation of a set of resources.