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

158 lines
5.9 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>Work with NWS Status (WRKNWSSTS)</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="WRKNWSSTS.Top_Of_Page"></a>
<h2>Work with NWS Status (WRKNWSSTS)</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="#WRKNWSSTS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKNWSSTS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKNWSSTS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKNWSSTS"></a>
<p>The Work with Network Server Status (WRKNWSSTS) command displays a list of servers and their current status. Specific options are available to work with individual servers in the list. These options provide functions such as displaying active users, restarting a server, displaying statistics, and so on. The display that appears differs depending on the value of the SVRTYPE parameter.
</p>
<ol>
<li>If SVRTYPE(*NWSUSRA) is specified, the display shown depends on the value specified for the SVRTYPE parameter in the network server user attributes (CHGNWSUSRA command) for the current user.
</li>
<li>If SVRTYPE(*NWSA) is specified, the display shown depends on the value specified for the SVRTYPE parameter in the network server attributes (CHGNWSA command).
</li>
<li>If SVRTYPE(*WINDOWS) or (*WINDOWSNT) is specified, the display shows options and information relevant to local NWSDs that were created as Windows servers.
</li>
<li>If SVRTYPE(*NETWARE) or SVRTYPE(*NDS) is specified, the display shows options and information relevant to NetWare servers. Only NetWare servers in NDS trees are listed.
</li>
<li>If SVRTYPE(*LINUX) or (*AIX) is specified, the display shows options and information relevant for NWSDs running Linux or AIX operating systems. If the NWSD server type is *GUEST, then the Status is shown only. The Display details option will not be available to be selected.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKNWSSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKNWSSTS.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="#WRKNWSSTS.SERVER"><b>SERVER</b></a></td>
<td valign="top">Server</td>
<td valign="top"><i>Character value</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#WRKNWSSTS.SVRTYPE"><b>SVRTYPE</b></a></td>
<td valign="top">Server type</td>
<td valign="top"><b><u>*NWSUSRA</u></b>, *NWSA, *WINDOWS, *NETWARE, *NDS, *LINUX, *AIX, *WINDOWSNT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKNWSSTS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKNWSSTS.SERVER"></a>
<h3>Server (SERVER)</h3>
<p>Specifies the name of a server.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All local servers and all remote 'active' servers are displayed.
</dd>
<dt><b><i>generic*-server-name</i></b></dt>
<dd>Specify the generic name of the server.
</dd>
<dt><b><i>server-name</i></b></dt>
<dd>Specify the name of a specific server.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKNWSSTS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKNWSSTS.SVRTYPE"></a>
<h3>Server type (SVRTYPE)</h3>
<p>Specifies which type of server to work with. The Work with Network Server Status display lists either NetWare servers, or Windows servers.
</p>
<dl>
<dt><b><u>*NWSUSRA</u></b></dt>
<dd>The type of servers to list is specified in the network server user attributes (CHGNWSUSRA command).
</dd>
<dt><b>*NWSA</b></dt>
<dd>The type of servers to list is specified in the network server attributes (CHGNWSA command).
</dd>
<dt><b>*WINDOWS or *WINDOWSNT</b></dt>
<dd>A list of Windows servers is displayed.
<p>
<b>Note: </b>*WINDOWS should be used in V5R4 and later releases. The *WINDOWSNT value is supported for compatibility with releases prior to V5R4.
</p>
</dd>
<dt><b>*NETWARE or *NDS</b></dt>
<dd>A list of NetWare servers in the NetWare Directory Services (NDS) trees is displayed.
</dd>
<dt><b>*LINUX or *AIX</b></dt>
<dd>A list of NWSDs with Linux or AIX operating system is displayed.
<p>
<b>Note: </b>If the NWSD server type is *GUEST, then the Status is shown only. Display details option is not available to be displayed.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKNWSSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKNWSSTS.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
WRKNWSSTS SERVER(SERVER2) SVRTYPE(*WINDOWS)
</pre>
</p>
<p>This command displays the Work with Network Server Status panel for a Windows server named SERVER2.
</p>
<p>
<pre>
WRKNWSSTS SERVER(SERVER1) SVRTYPE(*NETWARE)
</pre>
</p>
<p>This command displays the Work with Network Server Status panel for a NetWare server named SERVER1.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKNWSSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKNWSSTS.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFA451</b></dt>
<dd>Server name too long.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKNWSSTS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>