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

256 lines
6.2 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>Change Server Name (QZLSCHSN) 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. -->
<!-- QZLSCHSN SCRIPT A converted by B2H R4.1 (346) (CMS) by KENTALA -->
<!-- at RCHVMW2 on 7 Oct 1998 at 21:34:42 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!--File Edited Oct 2001 by Janet Brauckman -->
<!--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 type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Change Server Name (QZLSCHSN) API</h2>
<div class="box" style="width: 70%;">
<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%">Server name</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(15)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Domain name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(15)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Text description</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(50)</td>
</tr>
<tr>
<td align="center" valign="top">4</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;&nbsp;Optional Parameter:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">5</td>
<td align="left" valign="top" width="50%">Allow system name</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(1)</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 Change Server Name (QZLSCHSN) API changes the name by which the iSeries
Support for Windows Network Neighborhood server is known on the network. The
changes made with this API do not take effect until the server is
restarted.</p>
<br>
<h3>Authorities and Locks</h3>
<p>To use this API, you must have *IOSYSCFG special authority.</p>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Server name</strong></dt>
<dd>INPUT; CHAR(15)
<p>The name by which the system is known in the Windows Network
Neighborhood.</p>
</dd>
<dt><strong>Domain name</strong></dt>
<dd>INPUT; CHAR(15)
<p>The domain name (or workgroup) in which the server appears.</p>
</dd>
<dt><strong>Text description</strong></dt>
<dd>INPUT; CHAR(50)
<p>The description of the system that appears on the network.</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>Optional Parameter</h3>
<dl>
<dt><strong>Allow system name</strong></dt>
<dd>INPUT; CHAR(1)
<p>Whether the server allows clients to connect using the system name found in
the iSeries network attributes. Possible values are:</p>
<table cellpadding="5">
<!-- cols="5 95" -->
<tr>
<td align="left" valign="top"><em>0</em></td>
<td align="left" valign="top">Do not allow access to the server using the
TCP/IP system name.</td>
</tr>
<tr>
<td align="left" valign="top"><em>1</em></td>
<td align="left" valign="top">Allow access to the server using the TCP/IP
system name.</td>
</tr>
</table>
<p>If the allow system name parameter is omitted, the API assumes that no
change is requested and the current value remains unchanged.</p>
</dd>
</dl>
<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 width="15%" valign="top">CPF3C1E E</td>
<td width="85%" valign="top">Required parameter &amp;1 omitted.</td>
</tr>
<tr>
<td valign="top">CPF3C3A E</td>
<td valign="top">Value for parameter &amp;2 for API &amp;1 not valid.</td>
</tr>
<tr>
<td valign="top">CPF3CF1 E</td>
<td valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td valign="top">CPF3CF2 E</td>
<td valign="top">Error(s) occurred during running of &amp;1 API.</td>
</tr>
<tr>
<td valign="top">CPFA0D4 E</td>
<td valign="top">File system error occurred.</td>
</tr>
<tr>
<td valign="top">CPFB682 E</td>
<td valign="top">API &amp;1 failed with reason code &amp;2.</td>
</tr>
<tr>
<td valign="top">CPFB683 E</td>
<td valign="top">Data conversion failed for API &amp;1.</td>
</tr>
<tr>
<td valign="top">CPFB684 E</td>
<td valign="top">User does not have the correct authority for API &amp;1.</td>
</tr>
<tr>
<td valign="top">CPFB686 E</td>
<td valign="top">Error configuring iSeries Support for Windows Network
Neighborhood (iSeries NetServer).</td>
</tr>
<tr>
<td valign="top">CPFB68B E</td>
<td valign="top">Character is not valid for value &amp;3.</td>
</tr>
<tr>
<td valign="top">CPIB685 E</td>
<td valign="top">Error occurred on iSeries Support for Windows Network
Neighborhood (iSeries NetServer) request.</td>
</tr>
</table>
<br>
<hr>
API introduced: V4R2
<hr>
<center>
<table 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>
</center>
</body>
</html>