Copies resource definitions between groups or CICS® configurations.
<CCV210>
<Copy>
<LocationCriteria> 1
<LocationName> location_name </LocationName>
<LocationType> CConfig | Context | CSD </LocationType>
</LocationCriteria>
<ObjectCriteria>
<ListCount> element_count </ListCount> 2
<ListElement> 3
<ObjName> resource_name </ObjName>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
</ListElement>
More list elements…
</ObjectCriteria>
<InputData> 1
<TargetLocationName> location_name </TargetLocationName>
<TargetLocationType> CConfig | Context | CSD </TargetLocationType>
<TargetGroup> resource_group </TargetGroup> 4
</InputData>
<ProcessParms>
<Replace> No | Yes </Replace> 5
</ProcessParms>
</Copy>
</CCV210>
<InputData> identifies the target location (where you want to copy the resource definitions to). <TargetLocationName> and <TargetLocationType> are required, even if they specify the same location as <LocationName> and <LocationType>.
If the source and target locations are the same, then you must specify a target group (see 4 ).
Each list element is treated individually. For example, if a list element identifies a resource definition that already exists at the target location, and you leave <Replace> at its default value of No, and you do not specify a different target group, then that resource definition is not copied, and the Copy command moves on to the next list element.
If this group does not exist at the target location, then the Copy command creates it.
<CCV210>
<Copy>
<OutputData>
<ReturnCode> return_code </ReturnCode> 1
<ReasonCode> reason_code </ReasonCode>
<TaskNo> CICS_task_number </TaskNo>
<ListCount> element_count </ListCount>
<ListElement> 2
<ObjName> resource_name </ObjName>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
<Config> CICS_configuration </Config>
<LocationName> location_name </LocationName>
<ReturnCode> return_code </ReturnCode> 1
<ReasonCode> reason_code </ReasonCode>
</ListElement>
More list elements…
</OutputData>
</Copy>
</CCV210>
API command (READ access authority):
Resource definitions:
For the source resource definition (READ access authority):
For the target resource definition (ALTER access authority):
If the source CICS configuration refers to an export file, then no security check is performed for the source resource definition.