Work with Alert Descriptions (WRKALRD)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work With Alert Descriptions (WRKALRD) command allows you to view, add, change, and remove alert descriptions.

Top

Parameters

Keyword Description Choices Notes
MSGID Message identifier Name, *FIRST Optional, Positional 1
ALRTBL Alert table Qualified object name Optional, Positional 2
Qualifier 1: Alert table Name, QCPFMSG
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Message identifier (MSGID)

Specifies the message ID to work with using the WRKALRD display.

*FIRST
The first alert description found in the given alert table is shown on the WRKALRD display.
name
Specify the message identifier to work with.
Top

Alert table (ALRTBL)

Specifies the alert table to work with.

Qualifier 1: Alert table

QCPFMSG
The alert table named QCPFMSG is used.
name
Specify the name of the alert table that is used.

Qualifier 2: Library

*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library is searched for the alert table. If no library is specified as the current library for the job, the QGPL library is used.
name
Specify the name of the library where the alert table is located.
Top

Examples

WRKALRD   MSGID(USR1234)  ALRTBL(USER/USRMSGS)

This command shows the Work with Alert Descriptions panel, starting with message identifier USR1234 from alert table USRMSGS in library USER.

Top

Error messages

*ESCAPE Messages

CPF2499
Message identifier &1 not allowed.
CPF7D41
Error occurred while logging order assistance request.
CPF7D42
Error occurred while performing database operation.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
CPF9810
Library &1 not found.
CPF9811
Program &1 in library &2 not found.
CPF9812
File &1 in library &2 not found.
CPF9814
Device &1 not found.
CPF9820
Not authorized to use library &1.
CPF9821
Not authorized to program &1 in library &2.
CPF9822
Not authorized to file &1 in library &2.
CPF9825
Not authorized to device &1.
CPF9830
Cannot assign library &1.
CPF9831
Cannot assign device &1.
CPF9871
Error occurred while processing.
Top