To delete collection criteria, specify the DELETE parameter and the collection criteria on your COLLECT command. Also provide the destination and name of the collection set so that CA MIC knows which collection set you want.
Suppose a collection set named DEFAULT is collecting specific messages, including messages that have the prefix IEF, for console MSTR. To stop collecting messages that have the prefix IEF, issue the following command:
COLLECT DELETE CONSOLE=MSTR MSGID=IEF*
This example illustrates the removal of a selection criterion from a collection set. The CA MIC command set can often achieve similar results by using alternate features, and that can be confusing. If the initial COLLECT command had specified MSGID=IE*, then the previous COLLECT DELETE command would not have worked. Instead, you could have specified NOMSGID=IEF*.
The default value SETNAME=DEFAULT is omitted from this command.
Example:
To delete collection criteria from a collection set, specify that criteria and the DELETE parameter on a COLLECT command. The following example shows you how CA MIC deletes a message collection parameter from a collection set:
CONSOLE=MSTR SETNAME=DEFAULT, SYSID=EXTERNAL MSGID=$HASP*, NOJOBNAME=TEST* ACTION ANY
COLLECT DELETE CONSOLE=MSTR, MSGID=$HASP* NOJOBNAME=TEST*
This results in the following new collection sets:
CONSOLE=MSTR SETNAME=DEFAULT, SYSID=EXTERNAL ACTION ANY
Because you specified collection criteria on the COLLECT command, CA MIC deletes only that information from the collection set. CA MIC deletes the values MSGID=$HASP* and NOJOBNAME=TEST* from this collection set.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |