Previous Topic: How You Modify Collection Sets

Next Topic: How You Add Source Systems to a Collection Set

How You Add Collection Criteria to a Collection Set

To add inclusion or exclusion parameters to a collection set, specify those parameters on your COLLECT command. Also provide the destination and name of the collection set so that CA MIC knows which collection set to modify.

Suppose a collection set named DEFAULT is collecting messages from all external systems and is routing those messages to the console named MSTR. To begin collecting messages from job LEDGER (in addition to any messages already being collected), issue the following command:

COLLECT CONSOLE=MSTR JOBNAME=LEDGER

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

You cannot add a parameter that is mutually exclusive with any other parameter in that collection set. For example, you cannot add the NOACTION parameter if the ACTION parameter is already specified for that collection set.

Example:

To add new collection criteria to a collection set, specify the new criteria on a COLLECT command. The following example shows you how CA MIC adds collection criteria to an existing collection set:

Start with the following collection set:

CONSOLE=MSTR SETNAME=SAMP13, 
SYSID=EXTERNAL MSGID=($HASP*,IEF*),
JOBNAME=TEST1 ANY

Issue the COLLECT command:

COLLECT CONSOLE=MSTR,
SETNAME=SAMP13 JOBNAME=TEST2

This results in the following new collection set:

CONSOLE=MSTR SETNAME=SAMP13,
SYSID=EXTERNAL MSGID=($HASP*,IEF*),
JOBNAME=(TEST1,TEST2) ANY

CA MIC adds the value JOBNAME=TEST2 to this collection set. As a result, messages from job TEST2 are collected for console MSTR.