The DFHCSDUP DELETE command
Delete a single resource definition in a group, all the resource definitions in a group, or all the group names in a group list.
Description
Deleting a resource definition is different from removing a group from a list (see The DFHCSDUP REMOVE command). A deleted resource definition really does disappear from the CSD file.
When you DELETE the last resource in a group, the group is automatically deleted. An empty group cannot exist.
If a group is deleted, the group is not removed from all lists that contain it.
You cannot delete the definitions of groups and lists supplied by IBM®.
If you delete a list, the definitions of the resources within the groups contained in the list are not deleted. To do this, you must also delete each group individually.
Options
- Group(groupname)
- If this is specified alone, it indicates the name of the group to be deleted. If a resource is also specified, it indicates the group to which the resource belongs. Do not use a generic group name.
- List(listname)
- specifies the name of the list to be deleted. Do not use a generic list name.
- Remove
- If this is specified when the group is deleted, the group is removed from all lists that contained it unless UPGRADE commands are running.
- Resource(name)
- specifies the name of the resource to be deleted. Do not use a
generic resource name.
This operand can be used only with the GROUP option.
Examples
- GB001
- GB002
Group GB001 contains the following resource definitions:
TERMINAL(CON1)
TERMINAL(TEST)
DELETE TERMINAL(TEST) GROUP(GB001)
DELETE GROUP(GB002)
DELETE LIST(LISTA)
Back to full list of commands: Resource management utility DFHCSDUP commands