293 lines
9.1 KiB
HTML
293 lines
9.1 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>Query Problem Status (QRYPRBSTS)</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="QRYPRBSTS.Top_Of_Page"></a>
|
|
<h2>Query Problem Status (QRYPRBSTS)</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="#QRYPRBSTS.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#QRYPRBSTS.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#QRYPRBSTS.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="QRYPRBSTS"></a>
|
|
<p>The Query Problem Status (QRYPRBSTS) command retrievals problem status information from *IBMSRV (RETAIN) or from another AS/400 system that is enlisted as a service provider.
|
|
</p>
|
|
<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 this command.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="QRYPRBSTS.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="#QRYPRBSTS.PRBID"><b>PRBID</b></a></td>
|
|
<td valign="top">Problem identifier</td>
|
|
<td valign="top"><i>Character value</i>, *PMR</td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#QRYPRBSTS.ORIGIN"><b>ORIGIN</b></a></td>
|
|
<td valign="top">Origin</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Network identifier</td>
|
|
<td valign="top">
|
|
<i>Communications name</i>, <b><u>*NETATR</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Control point name</td>
|
|
<td valign="top">
|
|
<i>Communications name</i>, <b><u>*NETATR</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#QRYPRBSTS.RMTCPNAME"><b>RMTCPNAME</b></a></td>
|
|
<td valign="top">Remote control point</td>
|
|
<td valign="top"><i>Communications name</i>, <b><u>*IBMSRV</u></b>, *SELECT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#QRYPRBSTS.RMTNETID"><b>RMTNETID</b></a></td>
|
|
<td valign="top">Remote network identifier</td>
|
|
<td valign="top"><i>Communications name</i>, <b><u>*NETATR</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#QRYPRBSTS.SRVID"><b>SRVID</b></a></td>
|
|
<td valign="top">Service number</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#QRYPRBSTS.AUTOPRBCRT"><b>AUTOPRBCRT</b></a></td>
|
|
<td valign="top">Auto problem create</td>
|
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="QRYPRBSTS.PRBID"></a>
|
|
<h3>Problem identifier (PRBID)</h3>
|
|
<p>Specifies the problem identifier of the problem log entry. Problems with different system origins can have the same identifier. This parameter can be used with the ORIGIN parameter to select a single problem from a particular system origin.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*PMR</u></b></dt>
|
|
<dd>*PMR special value is used when the service request is sent to IBM service support. SRVID must be specified when PRBID is *PMR.
|
|
</dd>
|
|
<dt><b><i>problem-identifier</i></b></dt>
|
|
<dd>Specify a problem identifier.
|
|
</dd>
|
|
</dl>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="QRYPRBSTS.ORIGIN"></a>
|
|
<h3>Origin (ORIGIN)</h3>
|
|
<p>Specifies the node of the system from which the problem log entry originated. This parameter is used with the PRBID parameter to uniquely identify the problem.
|
|
</p>
|
|
<p>The possible Network Identifier values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NETATR</u></b></dt>
|
|
<dd>The LCLNETID value specified in the system network attributes is used.
|
|
</dd>
|
|
<dt><b><i>network-identifier</i></b></dt>
|
|
<dd>Specify a network identifier.
|
|
</dd>
|
|
</dl>
|
|
<p>The possible Control Point Name values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NETATR</u></b></dt>
|
|
<dd>The LCLNETID value specified in the system network attributes is used.
|
|
</dd>
|
|
<dt><b><i>control-point-name</i></b></dt>
|
|
<dd>Specify a control point name.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="QRYPRBSTS.RMTCPNAME"></a>
|
|
<h3>Remote control point (RMTCPNAME)</h3>
|
|
<p>Specifies the destination of the service provider to whom the service request is sent.
|
|
</p>
|
|
<p>The possible Remote Control Point Name values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*IBMSRV</u></b></dt>
|
|
<dd>The service request is sent to IBM service support.
|
|
</dd>
|
|
<dt><b>*SELECT</b></dt>
|
|
<dd>A list of service providers is shown from which the user can select the destination the service request is sent to.
|
|
</dd>
|
|
<dt><b><i>remote-control-point-name</i></b></dt>
|
|
<dd>Specify the name of the control point that is the destination of the request.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="QRYPRBSTS.RMTNETID"></a>
|
|
<h3>Remote network identifier (RMTNETID)</h3>
|
|
<p>Specifies the remote name of the service provider's network.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NETATR</u></b></dt>
|
|
<dd>The service provider is in the local network.
|
|
</dd>
|
|
<dt><b><i>remote-network-identifier</i></b></dt>
|
|
<dd>Specify the network name of the service provider to whom the request is sent.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="QRYPRBSTS.SRVID"></a>
|
|
<h3>Service number (SRVID)</h3>
|
|
<p>Specifies the service assigned number for the problem log entry. This number was assigned when the problem was reported to IBM service support.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>service-assigned-number</i></b></dt>
|
|
<dd>Specify the service assigned number for the problem log entry.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="QRYPRBSTS.AUTOPRBCRT"></a>
|
|
<h3>Auto problem create (AUTOPRBCRT)</h3>
|
|
<p>Specifies whether a problem should automatically be created, if a problem does not exist on the system.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*YES</u></b></dt>
|
|
<dd>Create a problem.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>Do not create a Problem.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="QRYPRBSTS.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Querying Problem Status on Another System</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
QRYPRBSTS PRBID(1234567890) RMTCPNAME(SYSTEM99)
|
|
RMTNETID(IBMNETID) AUTOPRBCRT(*YES)
|
|
</pre>
|
|
</p>
|
|
<p>This command searches for the status of a specific problem on another system (SYSTEM99).
|
|
</p>
|
|
<p><b>Example 2: Querying IBM Service</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
QRYPRBSTS PRBID(*PMR) RMTCPNAME(IBMSRV) RMTNETID(*NETATR)
|
|
AUTOPRBCRT(*YES)
|
|
</pre>
|
|
</p>
|
|
<p>This command searches the IBM Service database for the status of PMR 8X123.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="QRYPRBSTS.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF7AA7</b></dt>
|
|
<dd>Problem &1 not found or in use.
|
|
</dd>
|
|
<dt><b>CPF7AD4</b></dt>
|
|
<dd>Network ID &1 not in correct format.
|
|
</dd>
|
|
<dt><b>CPF7A84</b></dt>
|
|
<dd>Query status request routed to different system than specified.
|
|
</dd>
|
|
<dt><b>CPF7A88</b></dt>
|
|
<dd>Error indicated in reply to request.
|
|
</dd>
|
|
<dt><b>CPF7A9A</b></dt>
|
|
<dd>Remote control point and network identifier not valid.
|
|
</dd>
|
|
<dt><b>CPF7A9B</b></dt>
|
|
<dd>Problem &1 cannot be queried.
|
|
</dd>
|
|
<dt><b>CPF7A97</b></dt>
|
|
<dd>Invalid service identifier.
|
|
</dd>
|
|
<dt><b>CPF7A98</b></dt>
|
|
<dd>Service identifier not allowed.
|
|
</dd>
|
|
<dt><b>CPF7A99</b></dt>
|
|
<dd>Query must be sent to *IBMSRV.
|
|
</dd>
|
|
<dt><b>CPF7B18</b></dt>
|
|
<dd>Control point &1 not in correct format.
|
|
</dd>
|
|
<dt><b>CPF8C08</b></dt>
|
|
<dd>Cannot specify *SELECT for the control point name.
|
|
</dd>
|
|
<dt><b>CPF8C09</b></dt>
|
|
<dd>&1 not defined as a service provider.
|
|
</dd>
|
|
<dt><b>CPF8C24</b></dt>
|
|
<dd>Error occurred while processing request.
|
|
</dd>
|
|
</dl>
|
|
<p><b><u>*STATUS Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPZ7A80</b></dt>
|
|
<dd>Sending query status request to &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#QRYPRBSTS.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|