CL Command Reference - ADDALRD

CL Command List > ADDALRD Reference

Description:

The Add Alert Description (ADDALRD) command adds an alert description to the specified alert table.


Examples:

ADDALRD MSGID(USR1234) ALRTBL(USER/USRMSGS)
ALRTYPE(01) ALRD(3100) PBLCAUSE(1000 3121)
CAUSE((*USER 6001)(*FAILURE 1000)(*FAILURE 3121))
ACTION((*USER 1000)
(*FAILURE 00B0 00A5 ¡¯DSPMSG QSYSOPR¡¯)
(*FAILURE F0A0 22 ¡¯&5¡¯)
(*FAILURE 00E1 *NONE *NODATA *NONE
*NODATA *NONE *NODATA *SNDHDW))


This command defines three recommended failure actions:
. ¡¯00B0¡¯, which requires a detailed qualifier. One detailed data qualifier is provided.
. The detailed data identifier code point is ¡¯00A5¡¯, which identifies the text Command and
. The detailed data ¡¯DSPMSG QSYSOPR¡¯.

Failure recommended action ¡¯F0A0¡¯ specifies a message substitution variable (¡¯&5¡¯) as the detailed data. When the message ¡¯USR1234¡¯ is sent, the message data for variable ¡¯&5¡¯ is put into the alert for the detailed data.

Failure action X¡¯00E1¡¯ references a product identifier; in this case, it is the sending hardware iSeries server. Place holders are needed for the detailed data qualifiers.