Delete a single resource definition in a group, all the resource definitions in a group, or all the group names in a group list.
DELETE syntax >>-DELete--+-All----------------+--+-Group(groupname)-+---------> +-Connection(name)---+ '-List(listname)---' +-CORbaserver(name)--+ +-DB2Conn(name)------+ +-DB2Entry(name)-----+ +-DB2Tran(name)------+ +-DJar(name)---------+ +-DOctemplate(name)--+ +-Enqmodel(name)-----+ +-File(name)---------+ +-Journalmodel(name)-+ +-Lsrpool(name)------+ +-Mapset(name)-------+ +-PARTItionset(name)-+ +-PARTNer(name)------+ +-PIpeline(name)-----+ +-PROCesstype(name)--+ +-PROFile(name)------+ +-PROGram(name)------+ +-Requestmodel(name)-+ +-Sessions(name)-----+ +-TCpipservice(name)-+ +-TDqueue(name)------+ +-TErminal(name)-----+ +-TRANClass(name)----+ +-TRANSaction(name)--+ +-TSmodel(name)------+ +-TYpeterm(name)-----+ +-Urimap(name)-------+ '-Webservice(name)---' >--Remove------------------------------------------------------><
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.
When a group is deleted, the group is not removed from the 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.
This operand can be used only with the GROUP option.
A list in the primary CSD file called LISTA contains the following groups:
Group GB001 contains the following resource definitions:
The following command deletes the resource definition for the terminal TEST from group GB001:
DELETE TERMINAL(TEST) GROUP(GB001)
The following command deletes all the resource definitions in group GB002:
DELETE GROUP(GB002)
This leaves only group GB001 in the group list LISTA. The following command deletes all group names in the group list LISTA:
DELETE LIST(LISTA)
Back to full list of commands: Resource management utility DFHCSDUP commands