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

273 lines
8.8 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>Analyze Problem (ANZPRB)</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="ANZPRB.Top_Of_Page"></a>
<h2>Analyze Problem (ANZPRB)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#ANZPRB.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ANZPRB.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ANZPRB.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ANZPRB"></a>
<p>The Analyze Problem (ANZPRB) command allows you to analyze, create problem records for, or report problems that are not detected by the system. For example, you can analyze or report:
</p>
<ul>
<li>Job or programming problems.
</li>
<li>Equipment or communications problems.
</li>
<li>Problems that made it necessary to do an initial program load (IPL) of the system again.
</li>
<li>Problems on a device or system not attached to your system.
</li>
</ul>
<p><b>Restriction:</b> This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use the command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ANZPRB.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="#ANZPRB.ANZTYPE"><b>ANZTYPE</b></a></td>
<td valign="top">Analysis type</td>
<td valign="top">*REMOTE, *LOCAL, <b><u>*MENU</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ANZPRB.RCPNAME"><b>RCPNAME</b></a></td>
<td valign="top">Remote control point</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ANZPRB.NETID"><b>NETID</b></a></td>
<td valign="top">Network ID</td>
<td valign="top"><i>Name</i>, <b><u>*NETATR</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ANZPRB.USERID"><b>USERID</b></a></td>
<td valign="top">User ID</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ANZPRB.PASSWORD"><b>PASSWORD</b></a></td>
<td valign="top">Password</td>
<td valign="top"><i>Character value</i>, <b><u>X''</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ANZPRB.ANZTYPE"></a>
<h3>Analysis type (ANZTYPE)</h3>
<p>Specifies the type of analysis. The default value, *MENU allows you to do local or remote analysis on an iSeries system or to analyze problems on another system which is not an iSeries system. If you want to analyze problems on a local or remote iSeries system, you can bypass the initial menu by specifying *LOCAL or *REMOTE.
</p>
<p>
<b>Note: </b>You cannot do remote analysis if IBM System Manager for i5/OS is not installed.
</p>
<p>This is a required parameter.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*MENU</u></b></dt>
<dd>The Select Type of System menu is shown. You may choose to analyze problems on:
<ul>
<li>This iSeries system
</li>
<li>Another iSeries system that is enrolled as a service requester
</li>
<li>Another iSeries system that is not enrolled as a service requester
</li>
<li>Another system that is not an iSeries system
</li>
</ul>
</dd>
<dt><b>*LOCAL</b></dt>
<dd>Local analysis is selected. Problem analysis is done on this iSeries system.
</dd>
<dt><b>*REMOTE</b></dt>
<dd>Remote analysis is selected. Problem analysis is done for another iSeries system that is enrolled as a service requester.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ANZPRB.RCPNAME"></a>
<h3>Remote control point (RCPNAME)</h3>
<p>Specifies the remote control point name for the service requester system where the remote analysis is done.
</p>
<p>
<b>Note: </b>This parameter is valid only if *REMOTE is specified for the <b>Analysis type</b> prompt (ANZTYPE parameter).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ANZPRB.NETID"></a>
<h3>Network ID (NETID)</h3>
<p>Specifies the network identifier (ID) for the service requester system where the remote analysis is done.
</p>
<p>
<b>Note: </b>This parameter is valid only if *REMOTE is specified for the <b>Analysis type</b> prompt (ANZTYPE parameter).
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NETATR</u></b></dt>
<dd>The network ID of the service provider is used.
</dd>
<dt><b><i>network-ID</i></b></dt>
<dd>Specify the network ID.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ANZPRB.USERID"></a>
<h3>User ID (USERID)</h3>
<p>Specifies the user identifier (ID) used to access the remote system.
</p>
<p>
<b>Note: </b>This parameter is valid only if *REMOTE is specified for the <b>Analysis type</b> prompt (ANZTYPE parameter).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ANZPRB.PASSWORD"></a>
<h3>Password (PASSWORD)</h3>
<p>Specifies the password used to access the remote system.
</p>
<p>
<b>Note: </b>This parameter is valid only if *REMOTE is specified for the <b>Analysis type</b> prompt (ANZTYPE parameter).
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No password is needed to access the remote system because the remote system has a security level of 10.
</dd>
<dt><b><i>password</i></b></dt>
<dd>Specify the password.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ANZPRB.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying the Menu</b>
</p>
<p>
<pre>
ANZPRB
</pre>
</p>
<p>This command shows the Analyze Problem menu.
</p>
<p><b>Example 2: Starting Remote Analysis</b>
</p>
<p>
<pre>
ANZPRB ANZTYPE(*REMOTE)
</pre>
</p>
<p>This command shows the display which prompts for the remaining values of the command. After you specify the appropriate values, remote analysis begins.
</p>
<p><b>Example 3: Accessing Remote System with User ID and Password</b>
</p>
<p>
<pre>
ANZPRB ANZTYPE(*REMOTE) RCPNAME(RCH38377) USERID(JON)
PASSWORD(MY1STPWD)
</pre>
</p>
<p>This command shows the display which prompts for the remaining values of the command. After you specify the appropriate values beyond the ones specified on the command example, remote analysis begins.
</p>
<p><b>Example 4: Remote Analysis has Security Level of 10</b>
</p>
<p>
<pre>
ANZPRB ANZTYPE(*REMOTE) RCPNAME(RCH38377) USERID(JON)
</pre>
</p>
<p>This command is slightly different than the preceding example. The same display prompt appears; however, if PASSWORD is not specified, the system assumes that the remote system has a security level of 10, that is, it does not use passwords. After you specify the appropriate values beyond the ones specified on the command example, remote analysis begins.
</p>
<p><b>Example 5: Displaying the Menu</b>
</p>
<p>
<pre>
ANZPRB ANZTYPE(*MENU)
</pre>
</p>
<p>This command shows a menu prompting you for the type of analysis to be done. The remaining parameters do not appear on the display.
</p>
<p><b>Example 6: Starting Local Analysis</b>
</p>
<p>
<pre>
ANZPRB ANZTYPE(*LOCAL)
</pre>
</p>
<p>This command begins analysis on the local device. The remaining parameters do not appear on the display.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ANZPRB.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2B01</b></dt>
<dd>Problem analysis cannot continue because of an error in the program.
</dd>
<dt><b>CPF2B3C</b></dt>
<dd>Licensed program &amp;1 not installed.
</dd>
<dt><b>CPF9308</b></dt>
<dd>Unable to complete problem analysis. Reason code &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZPRB.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>