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

230 lines
6.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>Change Device Desc (Optical) (CHGDEVOPT)</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="CHGDEVOPT.Top_Of_Page"></a>
<h2>Change Device Desc (Optical) (CHGDEVOPT)</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="#CHGDEVOPT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGDEVOPT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGDEVOPT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGDEVOPT"></a>
<p>The Change Device Description (Optical) (CHGDEVOPT) command changes the device description for an optical device.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGDEVOPT.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="#CHGDEVOPT.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="#CHGDEVOPT.RSRCNAME"><b>RSRCNAME</b></a></td>
<td valign="top">Resource name</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *NONE, *VRT</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDEVOPT.ONLINE"><b>ONLINE</b></a></td>
<td valign="top">Online at IPL</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGDEVOPT.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"><a href="#CHGDEVOPT.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="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGDEVOPT.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="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVOPT.RSRCNAME"></a>
<h3>Resource name (RSRCNAME)</h3>
<p>Specifies the resource name that identifies the hardware that the description represents.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No resource name is specified. A resource name must be provided before the device can be varied on.
</dd>
<dt><b>*VRT</b></dt>
<dd>The resource name will be generated by the operating system at the time the device description is modified. The resource name will represent virtual (not physical) hardware.
</dd>
<dt><b><i>resource-name</i></b></dt>
<dd>Specify the name that identifies the optical device hardware on the system.
<p>
<b>Note: </b>Use the Work with Hardware Resources (WRKHDWRSC) command with TYPE(*STG) specified to determine the resource name.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVOPT.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>*YES</b></dt>
<dd>This device is varied on automatically at IPL.
</dd>
<dt><b>*NO</b></dt>
<dd>This device is not varied on automatically at IPL.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVOPT.MSGQ"></a>
<h3>Message queue (MSGQ)</h3>
<p>Specifies the message queue to which operational messages for this device are sent.
</p>
<p>The possible qualified names are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*SYSOPR</b></dt>
<dd>Messages are sent to the QSYSOPR message queue in QSYS.
</dd>
</dl>
<dl>
<dt><b><i>message-queue-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>
</dl>
<dl>
<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>
</dl>
<dl>
<dt><b><i>library-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="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVOPT.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="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDEVOPT.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGDEVOPT DEVD(OPT01) ONLINE(*YES)
</pre>
</p>
<p>This command changes the device description of an optical device that is named OPT01 so that the device is automatically varied on at IPL.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDEVOPT.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="#CHGDEVOPT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>