271 lines
9.2 KiB
HTML
271 lines
9.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">
|
|
<title>Work with Tape Cartridge (WRKTAPCTG)</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="WRKTAPCTG.Top_Of_Page"></a>
|
|
<h2>Work with Tape Cartridge (WRKTAPCTG)</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="#WRKTAPCTG.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#WRKTAPCTG.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#WRKTAPCTG.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="WRKTAPCTG"></a>
|
|
<p>The Work with Tape Cartridges (WRKTAPCTG) command allows the user to work with a list of tape cartridges.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="WRKTAPCTG.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="#WRKTAPCTG.DEV"><b>DEV</b></a></td>
|
|
<td valign="top">Library device</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#WRKTAPCTG.CTG"><b>CTG</b></a></td>
|
|
<td valign="top">Cartridge ID</td>
|
|
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 40 repetitions): <i>Character value</i></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#WRKTAPCTG.CGY"><b>CGY</b></a></td>
|
|
<td valign="top">Category</td>
|
|
<td valign="top">Single values: *SHARE400, *INSERT, *EJECT<br>Other values: <i>Element list</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Category name</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>*ALL</u></b>, *NOSHARE, *IPL, *NL, *CNV, *SYSGEN</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Category system</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>*CURRENT</u></b></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="WRKTAPCTG.DEV"></a>
|
|
<h3>Library device (DEV)</h3>
|
|
<p>Specifies the library device to be used. The device name must have been previously created on the system using the Create Device Media Library (CRTDEVMLB) command.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library device.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKTAPCTG.CTG"></a>
|
|
<h3>Cartridge ID (CTG)</h3>
|
|
<p>Specify the cartridge identifiers to work with.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>The cartridge identifier should represent the external identifier if the library device has a bar code scanner to read external identifiers.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All tape cartridges in the device or in the category specified are shown.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 40 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>generic-identifier</i></b></dt>
|
|
<dd>Specify the generic name of the cartridge identifier. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all cartridge identifiers with names that begin with the generic prefix. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete cartridge identifier.
|
|
</dd>
|
|
<dt><b><i>identifier</i></b></dt>
|
|
<dd>Specify the cartridge identifier.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="WRKTAPCTG.CGY"></a>
|
|
<h3>Category (CGY)</h3>
|
|
<p>Specifies the category of tape cartridges to work with.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*SHARE400</b></dt>
|
|
<dd>The cartridge identifiers in the *SHARE400 category are displayed. A cartridge in this category can be shared with other systems attached to the same device.
|
|
</dd>
|
|
<dt><b>*INSERT</b></dt>
|
|
<dd>The cartridge identifiers in the *INSERT category are displayed. A cartridge in this category has been placed in the library device, but its identifier has not been added to the system.
|
|
</dd>
|
|
<dt><b>*EJECT</b></dt>
|
|
<dd>The cartridge identifiers in the *EJECT category are displayed. A cartridge in this category has had its identifier removed from the system and is no longer usable.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 1: Category name</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All categories are searched for the cartridge identifiers specified on the CTG parameter and all are displayed to work with.
|
|
</dd>
|
|
<dt><b>*NOSHARE</b></dt>
|
|
<dd>The cartridge identifiers in the *NOSHARE category are displayed. A cartridge with this identifier cannot be shared with other systems.
|
|
</dd>
|
|
<dt><b>*IPL</b></dt>
|
|
<dd>The cartridge identifiers in the *IPL category are displayed. A cartridge with this identifier can be used for an alternate IPL.
|
|
</dd>
|
|
<dt><b>*NL</b></dt>
|
|
<dd>The cartridge identifiers in the *NL category are displayed. A cartridge with this identifier is used as a non-labeled tape.
|
|
</dd>
|
|
<dt><b>*CNV</b></dt>
|
|
<dd>The cartridge identifiers in the *CNV category are displayed. Cartridges in this category are for use with the convenience station.
|
|
</dd>
|
|
<dt><b>*SYSGEN</b></dt>
|
|
<dd>The cartridge identifiers in the *SYSGEN category are displayed. If the library device is in *SYSGEN mode, cartridges cannot be moved from the *SYSGEN category.
|
|
</dd>
|
|
<dt><b><i>category-name</i></b></dt>
|
|
<dd>Specify the name of a user-defined category. This category name must have been created previously with the Create Tape Category (CRTTAPCGY) command.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Category system</b>
|
|
</p>
|
|
<p>This element identifies the system the category belongs to. The system name is obtained from the pending system name field of a Display Network Attributes (DSPNETA) command. If there is no pending name, the current system attribute is used.
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
***** Attention *****************************
|
|
If the system name is changed, all category
|
|
information associated with all tape
|
|
cartridges in library devices are not valid.
|
|
*********************************************
|
|
</pre>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The category belongs to the system currently running the command.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>The systems that own categories available to the system running this command are used.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the name of the system to which the category belongs.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKTAPCTG.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Working with a Single Cartridge in a Tape Library</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKTAPCTG DEV(LIB01) CTG(VOL4) CGY(*ALL)
|
|
</pre>
|
|
</p>
|
|
<p>This command displays the Work with Tape Cartridges panel, showing only one entry for VOL4. A number of options for working with the tape cartridge shown are available on the Work with Tape Cartridges panel.
|
|
</p>
|
|
<p><b>Example 2: Working with All Cartridges in the *INSERT Category</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKTAPCTG DEV(LIB01) CGY(*INSERT)
|
|
</pre>
|
|
</p>
|
|
<p>This command displays the Work with Tape Cartridges panel, showing the list of all cartridges in the *INSERT category.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKTAPCTG.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF6708</b></dt>
|
|
<dd>Command ended due to error.
|
|
</dd>
|
|
<dt><b>CPF6711</b></dt>
|
|
<dd>Command not allowed
|
|
</dd>
|
|
<dt><b>CPF6718</b></dt>
|
|
<dd>Cannot allocate device &1.
|
|
</dd>
|
|
<dt><b>CPF6745</b></dt>
|
|
<dd>Device &1 not a media library device.
|
|
</dd>
|
|
<dt><b>CPF67A6</b></dt>
|
|
<dd>Category does not exist
|
|
</dd>
|
|
<dt><b>CPF67D2</b></dt>
|
|
<dd>Cartridge command was not successful.
|
|
</dd>
|
|
<dt><b>CPF67D4</b></dt>
|
|
<dd>Category not available
|
|
</dd>
|
|
<dt><b>CPF67E4</b></dt>
|
|
<dd>Library device function not successful
|
|
</dd>
|
|
<dt><b>CPF67E6</b></dt>
|
|
<dd>Volume &2 is not correct
|
|
</dd>
|
|
<dt><b>CPF67EA</b></dt>
|
|
<dd>Function not successful
|
|
</dd>
|
|
<dt><b>CPF67EC</b></dt>
|
|
<dd>Library device description &1 does not exist
|
|
</dd>
|
|
<dt><b>CPF67ED</b></dt>
|
|
<dd>Library device &1 not available
|
|
</dd>
|
|
<dt><b>CPF67F5</b></dt>
|
|
<dd>Duplicate cartridge or virtual volume name found
|
|
</dd>
|
|
<dt><b>CPF9814</b></dt>
|
|
<dd>Device &1 not found.
|
|
</dd>
|
|
<dt><b>CPF9825</b></dt>
|
|
<dd>Not authorized to device &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKTAPCTG.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|