ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qitdrsts.htm

447 lines
12 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Begin Header records -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Retrieve Remote Network Server Status (QITDRSTS) API</title>
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- Created for V5R4 on 050619 ROCH -->
<!-- Change history: -->
<!-- 050619 ROCH: New API D99947 -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<a name="Top_Of_Page"></a>
<h2><img src="delta.gif" alt="Start of change">Retrieve Remote Network Server Status (QITDRSTS) API</h2>
<div class="box" style="width: 90%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Receiver variable</td>
<td align="left" valign="top" width="20%">Output</td>
<td align="left" valign="top" width="20%">Char(*)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Length of receiver variable</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Format name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(8)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">Remote system network server configuration name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">5</td>
<td align="left" valign="top">Timeout</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">6</td>
<td align="left" valign="top">Error Code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>Retrieve Remote Network Server Status (QITDRSTS) API retrieves status information
about a remote network server.</p>
<br>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>Remote System Network Server Configuration Authority</em></dt>
<dd>*USE</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Receiver variable</strong></dt>
<dd>OUTPUT; CHAR(*)
<p>The variable that is to receive the remote network server status information.</p>
</dd>
<dt><strong>Length of receiver variable</strong></dt>
<dd>INPUT; BINARY(4)
<p>The length of the area that is referred to by the receiver variable
parameter. If the amount of information to be returned is greater than this
value, the information will be truncated to this length. The minimum length is 8 bytes.</p>
</dd>
<dt><strong>Format name</strong></dt>
<dd>INPUT; CHAR(8)
<p>The content and format of the status information that is returned for the remote network
server. The possible format name is:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>RSTS0100</em></td>
<td align="left" valign="top">Basic network server information</td>
</tr>
</table>
<p>See <a href="#HDRRSTSFMT">Format of Remote Network Server Status Information</a> for a
description of these formats.</p>
</dd>
<dt><strong>Remote system network server configuration name</strong></dt>
<dd>INPUT; CHAR(10)
<p>The name of the remote system network server configuration to retrieve status for.</p>
</dd>
<dt><strong>Timeout</strong></dt>
<dd>INPUT; BINARY(4)
<p>The number of seconds to allow the remote system to respond to the status request. Allowed range is 30-300 seconds</p>
</dd>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
</dd>
</dl>
<br>
<h3><a name="HDRRSTSFMT">Format of Remote Network Server Status Information</a></h3>
<p>Specifying RSTS0100 will return the basic status information.
</p>
<p>For detailed descriptions of the fields returned in these formats, see
<a href="#HDRRSTSFLD">Field Descriptions</a>.</p>
<br>
<h3><a name="HDRRSTS1">RSTS0100 Format</a></h3>
<p>Use this format to find out basic status information about the remote
network server.</p>
<table border width="80%">
<tr>
<th align="center" valign="bottom" colspan="2">Offset</th>
<th align="left" valign="bottom" rowspan="2">Type</th>
<th align="left" valign="bottom" rowspan="2">Field</th>
</tr>
<tr>
<th align="center" valign="bottom">Dec</th>
<th align="center" valign="bottom">Hex</th>
</tr>
<tr>
<td align="center" valign="top" width="10%">0</td>
<td align="center" valign="top" width="10%">0</td>
<td align="left" valign="top" width="20%">BINARY(4)</td>
<td align="left" valign="top" width="60%">Bytes returned</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">4</td>
<td align="center" valign="top" width="10%">4</td>
<td align="left" valign="top" width="20%">BINARY(4)</td>
<td align="left" valign="top" width="60%">Bytes available</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">8</td>
<td align="center" valign="top" width="10%">8</td>
<td align="left" valign="top" width="20%">BINARY(4)</td>
<td align="left" valign="top" width="60%">Remote network server status code</td>
</tr>
</table>
<br>
<br>
<h3><a name="HDRRSTSFLD">Field Descriptions</a></h3>
<p><strong>Bytes available. </strong>
The length of all data available to return. All available data is returned if enough
space is provided. </p>
<p><strong>Bytes returned. </strong>
The length of all data actually returned. If the data is truncated because the receiver
variable was not sufficiently large to hold all the data available, this value will be
less than the bytes available.</p>
<p><strong>Remote network server status code. </strong> The status of the remote network
server. The level of status that can be returned is dependent on the type of service
processor. Some service processors only return power on (32)/power off (0) status
while others return more granular information. Status codes include:</p>
<table cellpadding="5">
<!-- cols="5 95" -->
<tr>
<td align="left" valign="top"><em>0</em></td>
<td align="left" valign="top">System powered off or state unknown to service processor</td>
</tr>
<tr>
<td align="left" valign="top"><em>1</em></td>
<td align="left" valign="top">In POST portion of boot process
access.</td>
</tr>
<tr>
<td align="left" valign="top"><em>2</em></td>
<td align="left" valign="top">Stopped in POST due to an error</td>
</tr>
<tr>
<td align="left" valign="top"><em>3</em></td>
<td align="left" valign="top">Booted flash or a system partition</td>
</tr>
<tr>
<td align="left" valign="top"><em>4</em></td>
<td align="left" valign="top">Booting operating system * (see note below) </td>
</tr>
<tr>
<td align="left" valign="top"><em>5</em></td>
<td align="left" valign="top">In operating system * (see note below) </td>
</tr>
<tr>
<td align="left" valign="top"><em>6</em></td>
<td align="left" valign="top">CPU held in reset</td>
</tr>
<tr>
<td align="left" valign="top"><em>7</em></td>
<td align="left" valign="top">System Power On before POST</td>
</tr>
<tr>
<td align="left" valign="top"><em>32</em></td>
<td align="left" valign="top">System powered on</td>
</tr>
</table>
<br>
<p><strong>* Note: If the operating system or application code does not update
the system state to 'In operating system', the system state will never change
from 'Booting operating system' to 'In operating system' state.</strong></p>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="5">
<!-- cols="15 85" -->
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td align="left" valign="top">CPF2114 E</td>
<td align="left" valign="top">Cannot allocate object &amp;1 in &amp;2 type *&amp;3.</td>
</tr>
<tr>
<td align="left" valign="top">CPF2189 E</td>
<td align="left" valign="top">Not authorized to object &amp;1 in &amp;2 type *&amp;3.</td>
</tr>
<tr>
<td align="left" valign="top">CPF24B4 E</td>
<td align="left" valign="top">Severe error while addressing parameter
list.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3C1D E</td>
<td align="left" valign="top">Length specified in parameter &amp;1 not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3C21 E</td>
<td align="left" valign="top">Format name &amp;1 is not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3C24 E</td>
<td align="left" valign="top">Length of the receiver variable is not
valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3CF1 E</td>
<td align="left" valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3CF2 E</td>
<td align="left" valign="top">Error(s) occurred during running of &amp;1 API.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3CF4 E</td>
<td align="left" valign="top">Severe error occurred during API
processing. Reason code &amp;1.</td>
</tr>
<tr>
<td align="left" valign="top">CPF96CB E</td>
<td align="left" valign="top">Network server configuration &amp;1 not found.</td>
</tr>
<tr>
<td align="left" valign="top">CPF96CD E</td>
<td align="left" valign="top">Network server configuration type &amp;2 is not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPFA31E E</td>
<td align="left" valign="top">Required parameter &amp;1 omitted.</td>
</tr>
<tr>
<td align="left" valign="top">CPFB752 E</td>
<td align="left" valign="top">Internal error in &amp;2 API.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC401 E</td>
<td align="left" valign="top">Remote server or enclosure not found.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC402 E</td>
<td align="left" valign="top">Remote server or enclosure not found.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC403 E</td>
<td align="left" valign="top">Remote server or enclosure not found.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC404 E</td>
<td align="left" valign="top">More than one remote server or enclosure found for the
serial number.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC405 E</td>
<td align="left" valign="top">Remote server configuration error.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC406 E</td>
<td align="left" valign="top">Program error has occurred.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC408 E</td>
<td align="left" valign="top">Secure Socket Layer (SSL) connection to the service
processor failed.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC409 E</td>
<td align="left" valign="top">Not authorized to connect to the service processor on the
remote server.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC40B E</td>
<td align="left" valign="top">The certificate of the Service processor is expired.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC40C E</td>
<td align="left" valign="top">Remote server configuration error.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC40E E</td>
<td align="left" valign="top">Cannot connect to IBM Director Server.</td>
</tr>
<tr>
<td align="left" valign="top">CPFC40F E</td>
<td align="left" valign="top">Cannot connect to the service processor of the remote
server or enclosure.</td>
</tr>
</table>
<br>
<img src="deltaend.gif" alt="End of change">
<hr>
API introduced: V5R4
<hr>
<table align="center" cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top_Of_Page">Top</a> |
<a href="ss1.htm">Server Support APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</body>
</html>