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

309 lines
9.3 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 (Tape) (CHGDEVTAP)</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="CHGDEVTAP.Top_Of_Page"></a>
<h2>Change Device Desc (Tape) (CHGDEVTAP)</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="#CHGDEVTAP.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGDEVTAP.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGDEVTAP.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGDEVTAP"></a>
<p>The Change Device Description (Tape) (CHGDEVTAP) command changes a device description for a tape device.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGDEVTAP.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="#CHGDEVTAP.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="#CHGDEVTAP.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="#CHGDEVTAP.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"><a href="#CHGDEVTAP.ASSIGN"><b>ASSIGN</b></a></td>
<td valign="top">Assign device at vary on</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDEVTAP.UNLOAD"><b>UNLOAD</b></a></td>
<td valign="top">Unload device at vary off</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="#CHGDEVTAP.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="#CHGDEVTAP.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>
<tr>
<td valign="top"><a href="#CHGDEVTAP.SWTSET"><b>SWTSET</b></a></td>
<td valign="top">Switch setting</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGDEVTAP.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="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.RSRCNAME"></a>
<h3>Resource name (RSRCNAME)</h3>
<p>Specifies the resource name that identifies the virtual or physical hardware this description represents. For a physical hardware resource use the WRKHDWRSC command 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>*NONE</b></dt>
<dd>No resource name is specified.
</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 to identify the physical or virtual device on the system.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.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="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.ASSIGN"></a>
<h3>Assign device at vary on (ASSIGN)</h3>
<p>Specifies whether the tape drive is assigned to the system when it is varied on.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*YES</b></dt>
<dd>The tape drive is assigned when the device is varied on.
</dd>
<dt><b>*NO</b></dt>
<dd>The tape drive is not assigned when the device is varied on.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.UNLOAD"></a>
<h3>Unload device at vary off (UNLOAD)</h3>
<p>Specifies whether the tape drive is unloaded when the device is varied off.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
<dl>
<dt><b>*YES</b></dt>
<dd>The tape drive is unloaded when the device is varied off.
</dd>
<dt><b>*NO</b></dt>
<dd>The tape drive is not unloaded when the device is varied off. The tape is rewound, but not past the beginning-of-tape marker.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.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="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.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="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDEVTAP.SWTSET"></a>
<h3>Switch setting (SWTSET)</h3>
<p>Specifies the switch setting for tape devices.
</p>
<p>For 3422, 3480, and 3490 tape devices the possible values are 0 to F.
</p>
<p>For 3430 tape devices the possible values are 0 to 3.
</p>
<p>
<b>Note: </b>This parameter is no longer valid. Specify the RSRCNAME parameter for all tape devices. The SWTSET parameter is provided for compatibility with earlier versions of this command. If specified, the SWTSET parameter is converted to a resource name by the system.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDEVTAP.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGDEVTAP DEVD(TAP01) ONLINE(*YES)
</pre>
</p>
<p>This command changes the device description of a tape device named TAP01 so that at an IPL the device is automatically varied on.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDEVTAP.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="#CHGDEVTAP.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>