Previous Topic: deleteGroup—Delete Software or Procedure GroupNext Topic: deliverGroupToStage—Deliver Items of Software Group To Scalability Servers


Example

Suppose the software group "swg_2" is no longer needed and should be deleted. Also, all subgroups of this group should be deleted. The following command will execute the deletion.

cadsmcmd swlibrary action=deleteGroup name=swg_2 recursive

Launching

cadsmcmd swlibrary action=deleteGroup name=swg_2

will only delete the group specified. This will fail if the group swg_2 contains a subgroup and swg_2 is the only supergroup for this subgroup.

If there are other supergroups the subgroup will be unlinked from the specified group and the group will be deleted.