Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The user, typically a system operator or user responsible for handling system problems, uses the Delete Problem (DLTPRB) command to maintain the size of the problem log by deleting one or more entries. More information on controlling problem log size is in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
Restriction: This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use the command.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PRBID | Problem identifier | Character value, *ALL | Optional, Positional 1 |
STATUS | Status type | Single values: *ALL Other values (up to 6 repetitions): *OPENED, *READY, *PREPARED, *SENT, *ANSWERED, *VERIFIED, *CLOSED |
Optional |
DAYS | Days | 0-999, 30 | Optional |
ORIGIN | Origin | Element list | Optional |
Element 1: Network identifier | Communications name, *NETATR, *ALL | ||
Element 2: Control point name | Communications name, *NETATR, *ALL |
Top |
Specifies the ID of the problems to be deleted. Problems with different origin systems may have the same ID. The Origin (ORIGIN) parameter may be used along with this parameter to select a single problem from a particular origin system.
Top |
Specifies the status of problem log entries. There are seven types of status:
Note: This parameter is valid only if *ALL is specified on the Problem identifier (PRBID) parameter.
You can enter multiple values for this parameter. If you are on an entry display and you need additional entry fields to enter these multiple values, type a plus sign (+) in the entry field opposite the phrase "+ for more" and press the Enter key.
Top |
Specifies that problems older than this value are deleted. Valid values range from 0 through 999 days after the Opened or Closed date. Problems with any status other than Closed will be deleted the specified number of days after the Opened date. Problems with Closed status will be deleted after the specified number of days after the Closed date.
This parameter is valid only if *ALL is specified on the Problem identifier (PRBID) parameter.
Top |
Specifies that problem log entries that originated at only the specified nodes are to be deleted.
The possible network ID values are:
The possible control point name values are:
Top |
DLTPRB STATUS(*OPENED *READY *SENT) DAYS(15)
This command deletes all entries in the OPENED, READY, or SENT status that were added to the problem log prior to 15 days ago.
Top |
*ESCAPE Messages
Top |