Renames resource definitions, and optionally moves them to another group.
This command has two formats:
Renaming individual resource definitions:
<CCV210>
<Rename>
<LocationCriteria>
<LocationName> location_name </LocationName>
<LocationType> CConfig | Context | CSD </LocationType>
</LocationCriteria>
<ObjectCriteria> 1
<ListCount> element_count </ListCount>
<ListElement>
<ObjName> resource_name </ObjName>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
</ListElement>
More list elements…
</ObjectCriteria>
<InputData>
<TargetCount> element_count </TargetCount>
<TargetElement>
<TargetName> resource_name </TargetName>
<TargetGroup> resource_group </TargetGroup>
</TargetElement>
More target elements…
</InputData>
<ProcessParms>
<Replace> No | Yes </Replace>
</ProcessParms>
</Rename>
</CCV210>
or
For example, to identify all program resource definitions beginning with the characters PAY, from all groups beginning with the characters FIN, specify:
<ObjectCriteria>
<ObjName>PAY*</ObjName>
<ObjGroup>FIN*</ObjGroup>
<ObjType>PROGDEF</ObjType>
</ObjectCriteria>
Renaming from a group or ResGroup:
<CCV210>
<Rename>
<LocationCriteria>
<LocationName> location_name </LocationName>
<LocationType> CConfig | Context | CSD </LocationType>
</LocationCriteria>
<ObjectCriteria>
<ObjName> resource_group </ObjName>
<ObjType> ResGroup </ObjType>
</ObjectCriteria>
<InputData>
<SourceName> object_name </SourceName>
<SourceType> object_type </SourceType>
<TargetGroup> resource_group </TargetGroup>
</InputData>
<ProcessParms>
<Replace> No | Yes </Replace>
</ProcessParms>
</Rename>
</CCV210>
<CCV210>
<Rename>
<ReturnCode> return_code </ReturnCode>
<ReasonCode> reason_code </ReasonCode>
<TaskNo> CICS_task_number </TaskNo>
<ListCount> element_count </ListCount>
<ListElement>
<ReturnCode> return_code </ReturnCode>
<ReasonCode> reason_code </ReasonCode>
<ObjName> resource_name </ObjName>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
</ListElement>
More list elements…
</OutputData>
</Rename>
</CCV210>
API command (READ access authority):
Resource definitions:
For the source resource definition (ALTER access authority):
For the target resource definition (ALTER access authority):