WRKALRD (Work with Alert Descriptions)

WRKALRD Command syntax diagram

 

Purpose

The Work with Alert Descriptions (WRKALRD) command allows the user to show, add, change, and remove alert description records. More information on alerts is in the Alerts Support

book.

 

Optional Parameters

MSGID
Specifies the message ID at which the Work with Alert Descriptions display starts.

*FIRST: The display begins with the first message identifier description found in the alert table.

message-ID: Specify the message identifier.

ALRTBL
Specifies the qualified name of the alert table.

The name of the alert table can be qualified by one of the following library values:

*LIBL: All libraries in the job's library list are searched until the first match is found.

*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.

library-name: Specify the name of the library to be searched.

QCPFMSG: The alert table named QCPFMSG is used.

alert-table-name: Specify the name of the alert table.

Example for WRKALRD

WRKALRD  MSGID(USR1234)  ALRTBL(USER/USRMSGS)

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

Error messages for WRKALRD

*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.