ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/chgalrd.htm

636 lines
19 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Change Alert Description (CHGALRD)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="CHGALRD.Top_Of_Page"></a>
<h2>Change Alert Description (CHGALRD)</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="#CHGALRD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGALRD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGALRD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGALRD"></a>
<p>The Change Alert Description (CHGALRD) command allows the user to change an alert description added previously by the add alert description command. More information on alerts is in the Alerts Support book, SC41-5413.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGALRD.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="#CHGALRD.MSGID"><b>MSGID</b></a></td>
<td valign="top">Message identifier</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGALRD.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, Key, 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="#CHGALRD.ALRTYPE"><b>ALRTYPE</b></a></td>
<td valign="top">Alert type</td>
<td valign="top">00-F0, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGALRD.ALRD"><b>ALRD</b></a></td>
<td valign="top">Alert description code point</td>
<td valign="top">0000-FFF0, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGALRD.PBLCAUSE"><b>PBLCAUSE</b></a></td>
<td valign="top">Probable cause code point</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values (up to 99 repetitions): 0000-FFF0</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="10"><a href="#CHGALRD.CAUSE"><b>CAUSE</b></a></td>
<td valign="top">Cause</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<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="#CHGALRD.ACTION"><b>ACTION</b></a></td>
<td valign="top">Recommended action</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGALRD.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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGALRD.ALRTBL"></a>
<h3>Alert table (ALRTBL)</h3>
<p>Specifies the alert table in which this alert description exists.
</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 is searched for the alert table. 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 name of the library that is searched for the alert table.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGALRD.ALRTYPE"></a>
<h3>Alert type (ALRTYPE)</h3>
<p>Specifies the code point for the alert type.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The alert type code point does not change.
</dd>
<dt><b>*NONE</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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGALRD.ALRD"></a>
<h3>Alert description code point (ALRD)</h3>
<p>Specifies the code point for the alert description.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The alert description code point does not change.
</dd>
<dt><b>*NONE</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 that is used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGALRD.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>*SAME</u></b></dt>
<dd>The probable cause code point does not change.
</dd>
<dt><b>*NONE</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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGALRD.CAUSE"></a>
<h3>Cause (CAUSE)</h3>
<p>Specifies whether this is a user, install, or failure cause. 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>*SAME</u></b></dt>
<dd>The cause code point does not change.
</dd>
<dt><b>*NONE</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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGALRD.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>*SAME</u></b></dt>
<dd>The recommended action code point does not change.
</dd>
<dt><b>*NONE</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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGALRD.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGALRD MSGID(USR1234) ALRTBL(USER/USRMSGS)
ALRTYPE(*SAME) ALRD(*SAME) PBLCAUSE(1000 3121 6302)
CAUSE(*SAME) ACTION(*SAME)
</pre>
</p>
<p>This command adds probable cause 6302 to the alert description illustrated in the Add Alert Description (ADDALRD) command example.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGALRD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1A01</b></dt>
<dd>Alert table &amp;1 in &amp;2 cannot be extended.
</dd>
<dt><b>CPF1A02</b></dt>
<dd>Alert code &amp;1 already in alert table &amp;2.
</dd>
<dt><b>CPF1A03</b></dt>
<dd>Alert identifier &amp;1 already in alert table &amp;2.
</dd>
<dt><b>CPF1A05</b></dt>
<dd>Alert table &amp;1 in &amp;2 damaged.
</dd>
<dt><b>CPF2499</b></dt>
<dd>Message identifier &amp;1 not allowed.
</dd>
<dt><b>CPF7BB1</b></dt>
<dd>Alert description not found.
</dd>
<dt><b>CPF7BB5</b></dt>
<dd>Alert description &amp;1 could not be added to alert table &amp;2 in library &amp;3.
</dd>
<dt><b>CPF9801</b></dt>
<dd>Object &amp;2 in library &amp;3 not found.
</dd>
<dt><b>CPF9802</b></dt>
<dd>Not authorized to object &amp;2 in &amp;3.
</dd>
<dt><b>CPF9803</b></dt>
<dd>Cannot allocate object &amp;2 in library &amp;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 &amp;1 not found.
</dd>
<dt><b>CPF9811</b></dt>
<dd>Program &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9812</b></dt>
<dd>File &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9814</b></dt>
<dd>Device &amp;1 not found.
</dd>
<dt><b>CPF9820</b></dt>
<dd>Not authorized to use library &amp;1.
</dd>
<dt><b>CPF9821</b></dt>
<dd>Not authorized to program &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9822</b></dt>
<dd>Not authorized to file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
<dt><b>CPF9830</b></dt>
<dd>Cannot assign library &amp;1.
</dd>
<dt><b>CPF9831</b></dt>
<dd>Cannot assign device &amp;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="#CHGALRD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>