Removes objects from a container object.
You can use the Remove command to:
See the related Add command.
Removing resource definitions from a ResGroup:
<CCV510>
<Remove>
<LocationCriteria>
<LocationName> location_name </LocationName>
<LocationType> CConfig | Context | CSD </LocationType>
</LocationCriteria>
<ObjectCriteria> 1
<ListCount> element_count </ListCount>
<ListElement>
<DefA>
<ObjGroup> resource_group </ObjGroup> 2
<ObjType> resource_type </ObjType>
<ObjName> resource_name </ObjName>
</DefA>
</ListElement>
</ObjectCriteria>
<InputData> 3
<ContainerName> object_name </ContainerName>
<ContainerType> ResGroup </ContainerType>
</InputData>
</Remove>
</CCV510>
Removing ResGroups from a ResDesc:
<CCV510>
<Remove>
<LocationCriteria>
<LocationName> location_name </LocationName>
<LocationType> CConfig | Context | CSD </LocationType>
</LocationCriteria>
<ObjectCriteria> 1
<ListCount> element_count </ListCount>
<ListElement>
<GrpA>
<ObjType> ResGroup </ObjType>
<ObjName> resource_name </ObjName>
</GrpA>
</ListElement>
</ObjectCriteria>
<InputData> 3
<ContainerName> object_name </ContainerName>
<ContainerType> ResDesc </ContainerType>
</InputData>
</Remove>
</CCV510>
Removing resource definitions from a change package:
<CCV510>
<Remove>
<LocationCriteria>
<LocationName> location_name </LocationName>
<LocationType> Repository </LocationType>
</LocationCriteria>
<ObjectCriteria> 1
<CConfig> CICS_configuration </CConfig> 4
<ListCount> element_count </ListCount>
<ListElement>
<ObjName> resource_name </ObjName>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
</ListElement>
More list elements…
</ObjectCriteria>
<InputData> 3
<ContainerType> ChgPkg </ContainerType>
<ContainerName> change_package_ID </ContainerName>
</InputData>
</Remove>
</CCV510>
Removing commands from a change package:
<CCV510>
<Remove>
<LocationCriteria>
<LocationType> Repository </LocationType>
</LocationCriteria>
<ObjectCriteria> 1
<CConfig> CICS_configuration </CConfig> 4
<ListCount> element_count </ListCount>
<ListElement>
<CmdAPost>
<Command> Add | Remove | Delete </Command>
<ObjGroup> resource_group </ObjGroup>
<ObjType> resource_type </ObjType>
<ObjName> resource_name </ObjName>
<ObjDefVer> definition_version </ObjDefVer> 2
<TContainer> resource_group </TContainer> 5
</CmdAPost>
</ListElement>
More list elements…
</ObjectCriteria>
<InputData> 3
<ContainerName> change_package_ID </ContainerName>
<ContainerType> ChgPkg </ContainerType>
</InputData>
</Remove>
</CCV510>
or
When removing from a ResGroup or a ResDesc, <LocationCriteria> refers to the location of the resource definitions. However, when removing resource definitions or commands from a change package,, <LocationCriteria> refers to the CICS® Configuration Manager repository, which is where the change package is stored. To specify the location of the resource definitions, or the CICS configuration associated with the commands, you use <CConfig> in <ObjectCriteria>.
<CCV510>
<Remove>
<OutputData>
<ReturnCode> return_code </ReturnCode>
<ReasonCode> reason_code </ReasonCode>
<TaskNo> CICS_task_number </TaskNo>
</OutputData>
</Remove>
</CCV510>