Add a resource to a group
Add a CSD resource to a CSD group either with the CREATE command or with the CSDCOPY action.
The CREATE command creates a new resource definition
in the CSD. When the resource definition is created, it must be assigned
to a group. The CREATE command contains the following
parameter:
- CSD
- This parameter is optional.
- Specifies whether the resource is a CSD resource. You must specify PARM=CSD if you are creating a CSD resource.
- The CSD parameter is defined without a value. The CSD group into which the resource definition is defined is specified as an attribute of the resource definition: CSDGROUP=groupname
The CSDCOPY action copies an existing CICS
resource definition, which is defined in the CSD, from one CSD group
to another. The CSDCOPY action contains the following
parameters:
- AS_RESOURCE(value)
- Specifies the name that the copy of the resource will take.
- The AS_RESOURCE and TO_CSDRESOURCE parameters are mutually exclusive. Specify only one of these parameters on a CSDCOPY action.
- DUPACTION {DUPERROR|DUPNOREPLACE|DUPREPLACE}
- This parameter is optional.
- Specifies the action that CPSM takes if the CSDCOPY action would result in a duplicate definition in the target CSD group.
- DUPERROR
- If DUPACTION=DUPERROR is specified, an error is returned to the user if the CSDCOPY action would result in a duplicate resource in the target CSD group.
- DUPREPLACE
- If DUPACTION=DUPREPLACE is specified, duplicate resource definitions in the target CSD group are replaced by the resource definitions that are being copied into the CSD group.
- DUPNOREPLACE
- If DUPACTION=DUPNOREPLACE is specified, duplicate resource definitions in the target CSD group are not replaced.
- TO_CSDGROUP(value)
- Specifies the destination CSD group into which a copy of the resource will be added.
- The AS_RESOURCE and TO_CSDRESOURCE parameters are mutually exclusive. Specify only one of these parameters on a CSDCOPY action.