Previous Topic: How You Delete Collection Criteria from a Collection Set

Next Topic: How You Direct Messages to CA Remote Console

How You Delete a Collection Set

To delete a collection set, specify the DELETE parameter and the destination and name of the collection set on your COLLECT command. For example, to delete the collection set named DEFAULT for console MSTR, issue the following command:

COLLECT DELETE CONSOLE=MSTR

The default value SETNAME=DEFAULT is omitted from this command.

Note: It is possible to have more than one collection set for the same destination by giving each collection set a different name (using the SETNAME parameter). When this is the case, you cannot delete all collection sets for a destination by issuing a single COLLECT DELETE command. You must issue a separate COLLECT DELETE command for each collection set.

Example:

To delete a collection set, specify the DELETE parameter without any collection criteria on a COLLECT command. The following example shows you how CA MIC deletes a collection set:

  1. Start with the following collection set:
    CONSOLE=MSTR SETNAME=RULE1, 
    SYSID=ALL MONITOR=SESSION,
    ROUTCDE=(3,5) ANY
    
  2. Issue the following command:
    COLLECT DELETE SETNAME=RULE1
    

    This results in no new collection sets. Because you did not specify any collection criteria on the COLLECT command, CA MIC deletes the entire collection set.

This example assumes you are issuing the COLLECT DELETE command from console MSTR. Otherwise, include the value CONSOLE=MSTR on your COLLECT DELETE command.