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

162 lines
4.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">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Return LU6.2 Partners (QTNRTNLU) API</title>
<!-- Begin Header Records =========================================== -->
<!-- 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. -->
<!-- QTNRTNLU API created by RANDYJ -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- End Header Records =========================================== -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="top_Of_Page"></a>
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>Return LU6.2 Partners (QTNRTNLU) API</h2>
<br>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Optional Parameter:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Error code</td>
<td align="left" valign="top" width="20%">I/O</td>
<td align="left" valign="top" width="20%">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Return LU6.2 Partners (QTNRTNLU) API identifies all the
LU6.2 partner logical unit (LU) names that are known to this system.
The following informational message is sent to the joblog
of the job issuing the API to identify each partner:
</p>
<table cellpadding="5">
<tr>
<td width="15%" valign="top">CPI83D1</td>
<td width="85%" valign="top">Partner LU &amp;1.&amp;2 is known to this system.</td>
</tr>
</table>
<p>Replacement variable &amp;1 is the partner LU remote network identifier
and &amp;2 is the partner LU location name.
</p>
<p>Connection problems sometimes occur after a
partner LU is moved to a backup system with the same SNA
configuration as the original system.
The <a href="qtnclrlu.htm">Clear LU6.2 Partners (QTNCLRLU) API</a>
can be used to correct such problems.
</p>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>Authority</em></dt>
<dd>*ALLOBJ special authority is required.<br>
<br>
</dd>
<dt><em>Locks</em></dt>
<dd>None.</dd>
</dl>
<br>
<h3>Required Parameter</h3>
<p>None
<br>
<h3>Optional Parameter</h3>
<dl>
<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>. If this
parameter is omitted, diagnostic and escape messages are issued to the
caller of the API.</p>
</dd>
</dl>
<br>
<h3>Usage Notes</h3>
<p>This API was designed so that it would be easy to use from a CL command line.
The following CL command will return all the LU6.2 partners known to this
system:</p>
<pre>
CALL PGM(QTNRTNLU)
</pre>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="5">
<tr>
<th align="left" valign="top" nowrap>Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td width="15%" valign="top">CPF3CF1 E</td>
<td width="85%" valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td width="15%" valign="top">CPF83ED E</td>
<td width="85%" valign="top">&amp;1 API requires &amp;2 special authority.</td>
</tr>
<tr>
<td valign="top">CPF9872 E</td>
<td valign="top">Program or service program &amp;1 in library &amp;2 ended.
Reason code &amp;3.</td>
</tr>
</table>
<br>
<hr>
API introduced: V5R3
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#top_Of_Page">Top</a> | <a href=
"jc1.htm">Journal and Commit APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</center>
</body>
</html>