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

442 lines
15 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Change Device Desc (NWSH) (CHGDEVNWSH)</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="CHGDEVNWSH.Top_Of_Page"></a>
<h2>Change Device Desc (NWSH) (CHGDEVNWSH)</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="#CHGDEVNWSH.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGDEVNWSH.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGDEVNWSH.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGDEVNWSH"></a>
<p>The Change Device Description (NWSH) (CHGDEVNWSH) command changes the device description for a network server host adapter (NWSH) device.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGDEVNWSH.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="#CHGDEVNWSH.DEVD"><b>DEVD</b></a></td>
<td valign="top">Device description</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDEVNWSH.RSRCNAME"><b>RSRCNAME</b></a></td>
<td valign="top">Resource name</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="12"><a href="#CHGDEVNWSH.LCLIFC"><b>LCLIFC</b></a></td>
<td valign="top">Local interface</td>
<td valign="top">Single values: <b><u>*SAME</u></b><br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="12">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Subnet mask</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 2: Port speed</td>
<td valign="top">
*AUTO</td>
</tr>
<tr>
<td valign="top">Element 3: Duplex</td>
<td valign="top">
*AUTO</td>
</tr>
<tr>
<td valign="top">Element 4: Local SCSI interface</td>
<td valign="top">
<i>Element list</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 1: Internet address</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 2: Gateway address</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 3: SCSI TCP port</td>
<td valign="top">
1024-65535, 860</td>
</tr>
<tr>
<td valign="top">Element 5: Local LAN interface</td>
<td valign="top">
<i>Element list</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 1: Internet address</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 2: Gateway address</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" style="padding-left:10pt">Element 3: Virtual Ethernet base UDP port</td>
<td valign="top">
1024-65471</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDEVNWSH.ONLINE"><b>ONLINE</b></a></td>
<td valign="top">Online at IPL</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGDEVNWSH.MSGQ"><b>MSGQ</b></a></td>
<td valign="top">Message queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSOPR<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Message queue</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top" rowspan="3"><a href="#CHGDEVNWSH.CMNRCYLMT"><b>CMNRCYLMT</b></a></td>
<td valign="top">Recovery limits</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *SYSVAL<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Count limit</td>
<td valign="top">
0-99</td>
</tr>
<tr>
<td valign="top">Element 2: Time interval</td>
<td valign="top">
0-120</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDEVNWSH.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *BLANK</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGDEVNWSH.DEVD"></a>
<h3>Device description (DEVD)</h3>
<p>Specifies the name of the device description being changed.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVNWSH.RSRCNAME"></a>
<h3>Resource name (RSRCNAME)</h3>
<p>Specifies the resource name that identifies the hardware this description represents. Use the Work with Hardware Resources (WRKHDWRSC) command with *CMN specified for the TYPE parameter to determine the resource name.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the resource name of the network server host adapter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVNWSH.LCLIFC"></a>
<h3>Local interface (LCLIFC)</h3>
<p>Specifies the local interface for a network server host adapter, which consists of a subnet mask, port speed, duplex, a local Small Computer System Interface (SCSI) configuration and a local Local Area Network (LAN) configuration.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<p><b>Element 1: Subnet mask</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the subnet mask associated with the local interface. See the <i>TCP/IP Fastpath Setup</i> book for general information about subnets.
<p>Subnetting provides the capability to partition an internet domain. Specify the mask for the network subnet and host address fields of the internet address that defines a subnet. The subnet mask is in the form, <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. The subnet mask must mask off all bits of the network class's network ID portion of the internet address. For example, a subnet mask of 255.255.255.0 defines a Class B subnet consisting of all bits in the network portion of the internet address (this is a given) and consisting of all bits in the third byte of an internet address. If the subnet mask is entered from a command line, it must be enclosed in apostrophes.
</p>
</dd>
</dl>
<p><b>Element 2: Port speed</b>
</p>
<p>Specifies the speed of the physical port described by this local interface.
</p>
<dl>
<dt><b>*AUTO</b></dt>
<dd>The hardware automatically determines the port speed.
</dd>
</dl>
<p><b>Element 3: Duplex</b>
</p>
<p>Specifies the duplex mode used by the physical port described by this local interface.
</p>
<dl>
<dt><b>*AUTO</b></dt>
<dd>The hardware automatically determines the duplex.
</dd>
</dl>
<p><b>Element 4: Local SCSI interface</b>
</p>
<p>Specifies the local SCSI interface configuration.
</p>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Element 1: Internet address</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the local internet address which the SCSI interface on the network server host adapter responds to. The internet address is specified in the form, <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. An internet address that has a binary value of all ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the internet address is not valid. The internet address selected must be unique across the i5/OS TCP/IP configuration. If the local internet address is entered from a command line, the address must be enclosed in apostrophes.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Element 2: Gateway address</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the default gateway address for the internet address associated with the SCSI interface, in the form ddd.ddd.ddd.ddd where ddd is a decimal number ranging from 0 to 255. If the gateway address is entered from a command line, the address must be enclosed in apostrophes.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Element 3: SCSI TCP port</b>
</p>
<dl>
<dt><b><i>port-number</i></b></dt>
<dd>Specify the local SCSI TCP port that the local SCSI interface will listen on for iSCSI traffic. The local SCSI interface internet address and TCP port together define an iSCSI target portal. The well-known TCP port number for iSCSI connections assigned by Internet Assigned Numbers Authority (IANA) is 3260 and this is the default iSCSI port number. The TCP port assigned by IANA as the iSCSI system port is 860. Valid values are 860 and the range 1024 through 65535.
</dd>
</dl>
</dd>
</dl>
<p><b>Element 5: Local LAN interface</b>
</p>
<p>Specifies the local LAN interface configuration.
</p>
<dl>
<dt><b></b></dt>
<dd>
<p><b>Element 1: Internet address</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the local internet address which the LAN interface on the network server host adapter responds to. The internet address is specified in the form, <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. An internet address that has a binary value of all ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the internet address is not valid. The internet address selected must be unique across the i5/OS TCP/IP configuration. If the local internet address is entered from a command line, the address must be enclosed in apostrophes.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Element 2: Gateway address</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the default gateway address for the internet address associated with the LAN interface, in the form ddd.ddd.ddd.ddd where ddd is a decimal number ranging from 0 to 255. If the gateway address is entered from a command line, the address must be enclosed in apostrophes.
</dd>
</dl>
</dd>
<dt><b></b></dt>
<dd>
<p><b>Element 3: Virtual Ethernet base UDP port</b>
</p>
<dl>
<dt><b><i>1024-65471</i></b></dt>
<dd>Specify the lowest numbered User Datagram Protocol (UDP) port that the local LAN interface will use for virtual Ethernet communication with the remote server. Virtual Ethernet communication is encapsulated in UDP packets. Each virtual Ethernet adapter is automatically assigned a UDP port from a range that begins at the specified base port number and ends at the base port number plus the number of configured virtual Ethernet adapters.
</dd>
</dl>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVNWSH.ONLINE"></a>
<h3>Online at IPL (ONLINE)</h3>
<p>Specifies whether this object is automatically varied on at initial program load (IPL).
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>This device is not varied on automatically at IPL.
</dd>
<dt><b>*YES</b></dt>
<dd>This device is varied on automatically at IPL.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVNWSH.MSGQ"></a>
<h3>Message queue (MSGQ)</h3>
<p>Specifies the message queue to which operational messages for this device are sent.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*SYSOPR</b></dt>
<dd>Messages are sent to the system operator message queue (QSYS/QSYSOPR).
</dd>
</dl>
<p><b>Qualifier 1: Message queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the message queue to which operational messages are sent.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the job's library list are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVNWSH.CMNRCYLMT"></a>
<h3>Recovery limits (CMNRCYLMT)</h3>
<p>Specifies the communications recovery limits to be used for this device description.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>The recovery limits specified in the system value QCMNRCYLMT are used.
</dd>
</dl>
<p><b>Element 1: Count limit</b>
</p>
<dl>
<dt><b><i>0-99</i></b></dt>
<dd>Specify the number of recovery attempts to be performed by the system.
</dd>
</dl>
<p><b>Element 2: Time interval</b>
</p>
<dl>
<dt><b><i>0-120</i></b></dt>
<dd>Specify the number of minutes within which recovery attempts are made.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVNWSH.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The text (if any) does not change.
</dd>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
</dl>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDEVNWSH.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGDEVNWSH DEVD(DEVNWSH) MSGQ(NWSHLIB/NWSHMSGQ)
</pre>
</p>
<p>This command changes the device description of a network server host adapter device named DEVNWSH so that operational messages for the device will be sent to message queue NWSHMSGQ in library NWSHLIB.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDEVNWSH.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2618</b></dt>
<dd>Device description &amp;1 not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVNWSH.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>