Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Alert Selection Entry (CHGALRSLTE) command allows the user to change an alert selection entry that was added previously using the Add Alert Selection Entry (ADDALRSLTE) command. More information on alerts is in the Alerts Support book, SC41-5413.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILTER | Filter | Qualified object name | Required, Key, Positional 1 |
Qualifier 1: Filter | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
SEQNBR | Sequence number | 1-9999, *LAST | Required, Key, Positional 2 |
SELECT | Selection data | Single values: *SAME, *ANY Other values (up to 10 repetitions): Element list |
Optional |
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 | ||
GROUP | Group | Name, *SAME, *DEFAULT | Optional |
Top |
Specifies the qualified name of the filter in which the selection entry being changed.
This is a required parameter.
Qualifier 1: Filter
Qualifier 2: Library
Top |
Specifies the sequence number of the alert selection entry. Selection entries are evaluated in order by sequence number.
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.
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 group that an alert is assigned to if the alert matches the criteria specified on the SELECT parameter.
Top |
CHGALRSLTE FILTER(MYLIB/MYFILTER) SEQNBR(10) SELECT(*SAME) GROUP(NEWSTUFF)
This command changes the GROUP to NEWSTUFF for selection entry 10 in the filter MYFILTER in library MYLIB.
Top |
*ESCAPE Messages
Top |