636 lines
20 KiB
HTML
636 lines
20 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Add Alert Description (ADDALRD)</title>
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<a name="ADDALRD.Top_Of_Page"></a>
|
||
|
<h2>Add Alert Description (ADDALRD)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#ADDALRD.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ADDALRD.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ADDALRD.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ADDALRD"></a>
|
||
|
<p>The Add Alert Description (ADDALRD) command adds an alert description to the specified alert table.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ADDALRD.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ADDALRD.MSGID"><b>MSGID</b></a></td>
|
||
|
<td valign="top">Message identifier</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#ADDALRD.ALRTBL"><b>ALRTBL</b></a></td>
|
||
|
<td valign="top">Alert table</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Alert table</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#ADDALRD.ALRTYPE"><b>ALRTYPE</b></a></td>
|
||
|
<td valign="top">Alert type</td>
|
||
|
<td valign="top">X'00'-0, <b><u>*NONE</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ADDALRD.ALRD"><b>ALRD</b></a></td>
|
||
|
<td valign="top">Alert description code point</td>
|
||
|
<td valign="top">X'0000'-X'FFF0', <b><u>*NONE</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ADDALRD.PBLCAUSE"><b>PBLCAUSE</b></a></td>
|
||
|
<td valign="top">Probable cause code point</td>
|
||
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 99 repetitions): X'0000'-X'FFF0'</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="10"><a href="#ADDALRD.CAUSE"><b>CAUSE</b></a></td>
|
||
|
<td valign="top">Cause</td>
|
||
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 99 repetitions): <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="10">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Cause type</td>
|
||
|
<td valign="top">
|
||
|
*USER, *INSTALL, *FAILURE</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Cause code point</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 3: Detail data ID 1</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i>, <b><u>*NONE</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 4: Detail data 1</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*NODATA</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 5: Detail data ID 2</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i>, <b><u>*NONE</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 6: Detail data 2</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*NODATA</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 7: Detail data ID 3</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i>, <b><u>*NONE</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 8: Detail data 3</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*NODATA</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 9: Product identifier</td>
|
||
|
<td valign="top">
|
||
|
<b><u>*NONE</u></b>, *SNDHDW, *SNDSFW, *RSCHDW</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="10"><a href="#ADDALRD.ACTION"><b>ACTION</b></a></td>
|
||
|
<td valign="top">Recommended action</td>
|
||
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 99 repetitions): <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="10">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Action type</td>
|
||
|
<td valign="top">
|
||
|
*USER, *INSTALL, *FAILURE, *UNKNOWN</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Action code point</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 3: Detail data ID 1</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i>, <b><u>*NONE</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 4: Detail data 1</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*NODATA</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 5: Detail data ID 2</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i>, <b><u>*NONE</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 6: Detail data 2</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*NODATA</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 7: Detail data ID 3</td>
|
||
|
<td valign="top">
|
||
|
<i>Hexadecimal value</i>, <b><u>*NONE</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 8: Detail data 3</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*NODATA</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 9: Product identifier</td>
|
||
|
<td valign="top">
|
||
|
<b><u>*NONE</u></b>, *SNDHDW, *SNDSFW, *RSCHDW</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ADDALRD.MSGID"></a>
|
||
|
<h3>Message identifier (MSGID)</h3>
|
||
|
<p>Specifies the message ID to which this alert description corresponds.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the message identifier.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDALRD.ALRTBL"></a>
|
||
|
<h3>Alert table (ALRTBL)</h3>
|
||
|
<p>Specifies the alert table in which this alert description is created.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Alert table</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the alert table to be used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 2: Library</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIBL</u></b></dt>
|
||
|
<dd>All libraries in the job's library list are searched until the first match is found.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is used to locate the alert table name. If no library is specified as the current library for the job, the QGPL library is used.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the library where the alert table name is located. Only the library named is searched. The user must have *USE authority for the specified library.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDALRD.ALRTYPE"></a>
|
||
|
<h3>Alert type (ALRTYPE)</h3>
|
||
|
<p>Specifies the code point for the alert type.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no alert type code point for this alert description.
|
||
|
</dd>
|
||
|
<dt><b><i>X'00'-X'F0'</i></b></dt>
|
||
|
<dd>Specify the alert type code point.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDALRD.ALRD"></a>
|
||
|
<h3>Alert description code point (ALRD)</h3>
|
||
|
<p>Specifies the code point for the alert description.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no alert description code point for this alert description.
|
||
|
</dd>
|
||
|
<dt><b><i>X'0000'-X'FFF0'</i></b></dt>
|
||
|
<dd>Specify the alert description code point to be used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDALRD.PBLCAUSE"></a>
|
||
|
<h3>Probable cause code point (PBLCAUSE)</h3>
|
||
|
<p>Specifies a maximum of 99 code points for probable causes, which are listed in order of decreasing probability.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There are no probable cause code points for this alert description.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Other values (up to 99 repetitions)</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>X'0000'-X'FFF0'</i></b></dt>
|
||
|
<dd>Specify the probable cause code point.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDALRD.CAUSE"></a>
|
||
|
<h3>Cause (CAUSE)</h3>
|
||
|
<p>Specifies user, install, or failure causes. A maximum of 99 causes can be specified.
|
||
|
</p>
|
||
|
<p>Up to three detailed data qualifiers or one product identifier qualifier can be specified for a code point, depending on the code point. For a detailed data qualifier, specify the detailed data ID and the detailed data.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There are no cause code points for this alert description.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Other values (up to 99 repetitions)</b>
|
||
|
</p>
|
||
|
<p><b>Element 1: Cause type</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*USER</b></dt>
|
||
|
<dd>A user cause code point follows.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*INSTALL</b></dt>
|
||
|
<dd>An install cause code point follows.
|
||
|
</dd>
|
||
|
<dt><b>*FAILURE</b></dt>
|
||
|
<dd>A failure cause code point follows.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: Cause code point</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the cause code point.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 3: Detail data ID 1</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no detailed-data-ID code point for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the detailed data identifier code point used to identify the data. Detailed data identifiers can be specified up to three times in each session.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 4: Detail data 1</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODATA</u></b></dt>
|
||
|
<dd>There is no detailed data for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 40 characters of detailed data. A substitution variable from the corresponding message description can be specified, in which case the message data is substituted into the alert description when the alert is created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 5: Detail data ID 2</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no detailed-data-ID code point for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the detailed data identifier code point used to identify the data. Detailed data identifiers can be specified up to three times in each session.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 6: Detail data 2</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODATA</u></b></dt>
|
||
|
<dd>There is no detailed data for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 40 characters of detailed data. A substitution variable from the corresponding message description can be specified, in which case the message data is substituted into the alert description when the alert is created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 7: Detail data ID 3</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no detailed-data-ID code point for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the detailed data identifier code point used to identify the data. Detailed data identifiers can be specified up to three times in each session.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 8: Detail data 3</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODATA</u></b></dt>
|
||
|
<dd>There is no detailed data for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 40 characters of detailed data. A substitution variable from the corresponding message description can be specified, in which case the message data is substituted into the alert description when the alert is created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 9: Product identifier</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no product identifier for this code point.
|
||
|
</dd>
|
||
|
<dt><b>*SNDHDW</b></dt>
|
||
|
<dd>Indicates the sender hardware (always iSeries).
|
||
|
</dd>
|
||
|
<dt><b>*SNDSFW</b></dt>
|
||
|
<dd>Indicates the sender software code responsible for the alert. This is from the LICPGM value from the Create Alert Table (CRTALRTBL) command.
|
||
|
</dd>
|
||
|
<dt><b>*RSCHDW</b></dt>
|
||
|
<dd>Indicates the failing resource hardware, which is determined by the resource hierarchy in the message description.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDALRD.ACTION"></a>
|
||
|
<h3>Recommended action (ACTION)</h3>
|
||
|
<p>Specifies a recommended action for a user, install, or failure cause. A maximum of 99 actions can be listed.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There are no recommended action code points for this alert description.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Other values (up to 99 repetitions)</b>
|
||
|
</p>
|
||
|
<p><b>Element 1: Action type</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*USER</b></dt>
|
||
|
<dd>A user cause code point follows.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*INSTALL</b></dt>
|
||
|
<dd>An install cause recommended action code point follows.
|
||
|
</dd>
|
||
|
<dt><b>*FAILURE</b></dt>
|
||
|
<dd>A failure cause recommended action code point follows.
|
||
|
</dd>
|
||
|
<dt><b>*UNKNOWN</b></dt>
|
||
|
<dd>A code point for a recommended action for a 'cause undetermined' error follows.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: Action code point</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the recommended action code point.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>Up to three detailed data qualifiers or one product identifier qualifier can be specified for a code point, depending on the code point. For a detailed data qualifier, specify the detailed data ID and the detailed data.
|
||
|
</p>
|
||
|
<p><b>Element 3: Detail data ID 1</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no detailed-data-ID code point for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the detailed data identifier code point used to identify the data. Detailed data identifiers can be specified up to three times in each session.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 4: Detail data 1</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODATA</u></b></dt>
|
||
|
<dd>There is no detailed data for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 40 characters of detailed data. A substitution variable from the corresponding message description can be specified, in which case the message data is substituted into the alert description when the alert is created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 5: Detail data ID 2</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no detailed-data-ID code point for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the detailed data identifier code point used to identify the data. Detailed data identifiers can be specified up to three times in each session.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 6: Detail data 2</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODATA</u></b></dt>
|
||
|
<dd>There is no detailed data for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 40 characters of detailed data. A substitution variable from the corresponding message description can be specified, in which case the message data is substituted into the alert description when the alert is created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 7: Detail data ID 3</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no detailed-data-ID code point for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>hexadecimal-value</i></b></dt>
|
||
|
<dd>Specify the detailed data identifier code point used to identify the data. Detailed data identifiers can be specified up to three times in each session.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 8: Detail data 3</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODATA</u></b></dt>
|
||
|
<dd>There is no detailed data for this code point.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify up to 40 characters of detailed data. A substitution variable from the corresponding message description can be specified, in which case the message data is substituted into the alert description when the alert is created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 9: Product identifier</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>There is no product identifier for this code point.
|
||
|
</dd>
|
||
|
<dt><b>*SNDHDW</b></dt>
|
||
|
<dd>Indicates the sender hardware (always iSeries).
|
||
|
</dd>
|
||
|
<dt><b>*SNDSFW</b></dt>
|
||
|
<dd>Indicates the sender software code responsible for the alert. This is from the LICPGM value from the Create Alert Table (CRTALRTBL) command.
|
||
|
</dd>
|
||
|
<dt><b>*RSCHDW</b></dt>
|
||
|
<dd>Indicates the failing resource hardware, which is determined by the resource hierarchy in the message description.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ADDALRD.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
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))
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command defines three recommended failure actions:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>'00B0', which requires a detailed qualifier. One detailed data qualifier is provided.
|
||
|
</li>
|
||
|
<li>The detailed data identifier code point is '00A5', which identifies the text Command and
|
||
|
</li>
|
||
|
<li>The detailed data 'DSPMSG QSYSOPR'.
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ADDALRD.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1A01</b></dt>
|
||
|
<dd>Alert table &1 in &2 cannot be extended.
|
||
|
</dd>
|
||
|
<dt><b>CPF1A02</b></dt>
|
||
|
<dd>Alert code &1 already in alert table &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF1A03</b></dt>
|
||
|
<dd>Alert identifier &1 already in alert table &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF1A05</b></dt>
|
||
|
<dd>Alert table &1 in &2 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF2499</b></dt>
|
||
|
<dd>Message identifier &1 not allowed.
|
||
|
</dd>
|
||
|
<dt><b>CPF7BB0</b></dt>
|
||
|
<dd>Alert description already exists.
|
||
|
</dd>
|
||
|
<dt><b>CPF7BB5</b></dt>
|
||
|
<dd>Alert description &1 could not be added to alert table &2 in library &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9801</b></dt>
|
||
|
<dd>Object &2 in library &3 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9802</b></dt>
|
||
|
<dd>Not authorized to object &2 in &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9803</b></dt>
|
||
|
<dd>Cannot allocate object &2 in library &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9807</b></dt>
|
||
|
<dd>One or more libraries in library list deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF9808</b></dt>
|
||
|
<dd>Cannot allocate one or more libraries on library list.
|
||
|
</dd>
|
||
|
<dt><b>CPF9810</b></dt>
|
||
|
<dd>Library &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9811</b></dt>
|
||
|
<dd>Program &1 in library &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9812</b></dt>
|
||
|
<dd>File &1 in library &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9814</b></dt>
|
||
|
<dd>Device &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9820</b></dt>
|
||
|
<dd>Not authorized to use library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9821</b></dt>
|
||
|
<dd>Not authorized to program &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9822</b></dt>
|
||
|
<dd>Not authorized to file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9825</b></dt>
|
||
|
<dd>Not authorized to device &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9830</b></dt>
|
||
|
<dd>Cannot assign library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9831</b></dt>
|
||
|
<dd>Cannot assign device &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9899</b></dt>
|
||
|
<dd>Error occurred during processing of command.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDALRD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|