Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DLTOPT | Delete option | *ALL, *RCV, *LOCAL, *HELD | Optional, Positional 1 |
DAYS | Days | 0-999, 30 | Optional, Positional 2 |
ALRTYPE | Alert type | Single values: *ALL Other values (up to 5 repetitions): Character value, *TEMP, *PERM, *PERF, *IMPEND, *UNKNOWN |
Optional |
ALRRSC | Alert resource | Single values: *ALL Other values (up to 50 repetitions): Name |
Optional |
ALRRSCTYPE | Alert resource type | Single values: *ALL Other values (up to 50 repetitions): Character value |
Optional |
ASNUSER | User assigned | Single values: *ALL Other values (up to 50 repetitions): Character value, *NONE |
Optional |
GROUP | Group | Single values: *ALL Other values (up to 50 repetitions): Name, *NONE, *DEFAULT |
Optional |
Top |
Specifies which alerts are to be deleted.
Note: There is a distinction between held alerts that are sent or forwarded by this system, and held alerts that are received by another system. DLTOPT(*HELD) deletes only held alerts that could not be sent or forwarded by this system (or are currently being held based on the ALRHLDCNT network attribute).
Top |
Specifies that alerts older than this value are deleted. Alerts that are more recent than this value are not deleted. This value can be 0 or any number of days. Selection criteria can be further specified in the remaining keywords.
Top |
Specifies which types of alerts are deleted. The alert type indicates the severity of the alert.
Single values
Other values (up to 5 repetitions)
Top |
Specifies the name of resources that are reporting problems. Up to 50 alert resource names can be specified.
Single values
Other values (up to 50 repetitions)
Top |
Specifies the type of resources that are reporting problems. A maximum of 50 resource types can be specified. Each resource name has a resource type associated with that resource. For example, resource types are diskette (DKT) or tape (TAP).
Single values
Other values (up to 50 repetitions)
Top |
Specifies the user to which the alerts being deleted are assigned. This value is taken from the value on the ASNUSER parameter in the Add Alert Action Entry (ADDALRACNE) command.
Single values
Other values (up to 50 repetitions)
Top |
Specifies the group to which the alerts being deleted are assigned. This value is taken from the value on the GROUP parameter in the Add Alert Selection Entry (ADDALRSLTE) command.
Single values
Other values (up to 50 repetitions)
Top |
Example 1: Deleting Temporary and Permanent Alert Types
DLTALR DLTOPT(*LOCAL) DAYS(10) ALRTYPE(*TEMP *PERM) ALRRSCTYPE(DKT)
This command deletes temporary and permanent locally created alerts in the alert database. The alerts that are deleted are reporting problems about diskettes. Alerts more than 10 days old that match these criteria are deleted.
Example 2: Deleting Alerts Associated with Diskette Resources
DLTALR DLTOPT(*RCV) DAYS(0) ALRRSCTYPE(DKT)
This command deletes received alerts associated with diskette resources.
Top |
*ESCAPE Messages
Top |