Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Alert Selection Entry (ADDALRSLTE) command allows the user to add an alert selection entry to an alert filter. Selection entries are the criteria that categorize a group of alerts. More information on alerts is in the Alerts Support book, SC41-5413.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILTER | Filter | Qualified object name | Required, Positional 1 |
Qualifier 1: Filter | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
SELECT | Selection data | Single values: *ANY Other values (up to 10 repetitions): Element list |
Required, Positional 2 |
Element 1: Relationship | *IF, *AND, *OR | ||
Element 2: Attribute | *ORIGIN, *RSCNAME, *RSCTYPE, *HIERNAME, *HIERTYPE, *MSGID, *MSGSEV, *ALRID, *ALRTYPE, *ALRDSC, *PBLCSE, *USRCSE, *INSCSE, *FLRCSE, *RSCHDW, *SNDHDW, *RSCSFW, *SNDSFW | ||
Element 3: Relational operator | *EQ, *GT, *LT, *NE, *GE, *LE, *CT | ||
Element 4: Value | Character value | ||
SEQNBR | Sequence number | 1-9999, *GEN | Optional |
GROUP | Group | Name, *DEFAULT | Optional |
Top |
Specifies the filter to be added.
This is a required parameter.
Qualifier 1: Filter
Qualifier 2: Library
Top |
Specifies the comparisons to be made to determine if the alert belongs in the specified group. The selection entry results in a successful match with an alert when the data in the alert satisfies the relationships specified on the SELECT parameter. Up to 10 attribute values can be compared to the alert.
This is a required parameter.
Single values
Other values (up to 10 repetitions)
Specify the conditions under which an alert matches the selection entry. Each condition must contain the following four elements:
Element 1: Relationship
If there is one set or several sets of conditions, the *IF value must be specified as the first value in the first set of comparison values. If more than one set of conditions are specified, *AND or *OR must be specified as the first value in each set after the first. Each condition must be enclosed in parentheses. *AND is evaluated before *OR.
Element 2: Attribute
'tttt mmm ss-sssssss' 'tttt mmm ss-sssss' 'tttt mmm sssssss' 'tttt mmm sssss'
where tttt is the machine type, mmm is the model number, and sssssssss is the serial number. Use this format to match a particular hardware resource or use a part of the hardware value with the *CT relational operator to provide a partial match.
'tttt mmm ss-sssssss' 'tttt mmm ss-sssss' 'tttt mmm sssssss' 'tttt mmm sssss'
where tttt is the machine type, mmm is the model number, and sssssssss is the serial number. Use this format to match a particular hardware resource or use a part of the hardware value with the *CT relational operator to provide a partial match.
'ppppppp vv rr mm'
where ppppppp is the licensed program identifier, vv is the version number, rr is the release number, and mm is the modification level. Use this format to match a particular software resource or use a part of the software value with the *CT relational operator to provide a partial match.
'ppppppp vv rr mm'
where ppppppp is the licensed program identifier, vv is the version number, rr is the release number, and mm is the modification level. Use this format to match a particular software resource or use a part of the software value with the *CT relational operator to provide a partial match.
Element 3: Relational operator
Element 4: Value
Top |
Specifies the sequence number of the alert selection entry. Selection entries are evaluated in order by sequence number.
Top |
Specifies the group that an alert is assigned to if the alert matches the criteria specified on the SELECT parameter.
Top |
ADDALRSLTE FILTER(MYLIB/MYFILTER) SELECT((*IF *RSCNAME *EQ CHICAGO1) (*AND *RSCTYPE *EQ CP)) SEQNBR(*GEN) GROUP(CHICAGO)
This command adds selection entry 0010 to the filter MYFILTER in library MYLIB (a 0010 is generated because no entries have been added to the filter). Any alerts that have a resource name of 'CHICAGO1' and a resource type of 'CP' (control point) are assigned to group CHICAGO.
Top |
*ESCAPE Messages
Top |