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

235 lines
8.3 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>Add Optical Cartridge (ADDOPTCTG)</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="ADDOPTCTG.Top_Of_Page"></a>
<h2>Add Optical Cartridge (ADDOPTCTG)</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="#ADDOPTCTG.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDOPTCTG.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDOPTCTG.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDOPTCTG"></a>
<p>The Add Optical Cartridge (ADDOPTCTG) command adds an optical disk cartridge and its volume(s) to an optical library or stand alone device. An optical cartridge can be either single or double sided. Each side represents an optical volume.
</p>
<p>A 12-character date and time stamp is assigned by the system to an uninitialized volume when it is added to the optical device. This stamp is used as the volume identifier to track each volume until it is initialized. You can keep the system-generated volume identifier or you can specify a new volume identifier when the volume is initialized.
</p>
<p><b>Restriction:</b> The user must have *USE authority to use this command. The command is shipped with *EXCLUDE public authority.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDOPTCTG.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="#ADDOPTCTG.MLB"><b>MLB</b></a></td>
<td valign="top">Optical device</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ADDOPTCTG.AUTL"><b>AUTL</b></a></td>
<td valign="top">Authorization list</td>
<td valign="top"><i>Name</i>, <b><u>*PRV</u></b>, QOPTSEC, *NONE</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#ADDOPTCTG.DIR"><b>DIR</b></a></td>
<td valign="top">Rebuild directory index</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDOPTCTG.MEDLOC"><b>MEDLOC</b></a></td>
<td valign="top">Media location</td>
<td valign="top"><b><u>*IOSTATION</u></b>, *MAGAZINE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDOPTCTG.MLB"></a>
<h3>Optical device (MLB)</h3>
<p>Specifies the name of the optical device where the optical media is to be added.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDOPTCTG.AUTL"></a>
<h3>Authorization list (AUTL)</h3>
<p>Specifies the authorization list used to verify authority to the optical cartridge and its volume(s).
</p>
<dl>
<dt><b><u>*PRV</u></b></dt>
<dd>The previous authorization list is used. If no previous authorization list was saved or if the previous authorization list does not exist, the default authorization list, QOPTSEC, is used.
</dd>
<dt><b>QOPTSEC</b></dt>
<dd>The default authorization list for the optical volume(s), QOPTSEC, is used.
</dd>
<dt><b>*NONE</b></dt>
<dd>No security checking is performed for the optical volume(s).
</dd>
<dt><b><i>authorization-list-name</i></b></dt>
<dd>Specify the name of the authorization list used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDOPTCTG.DIR"></a>
<h3>Rebuild directory index (DIR)</h3>
<p>Specifies whether the optical directory index is built for the optical volume(s) being added. The directory index is required to run Work with Optical Directories (WRKOPTDIR) and Display Optical (DSPOPT) when displaying directories. If not built now, the index will be built later the first time one of these commands is issued.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The optical directory index will not be built for the optical volume(s) being added but instead will be built at a later time if needed. Using this option may result in better performance for the command than if DIR(*YES) were specified.
</dd>
<dt><b>*YES</b></dt>
<dd>The optical directory index is created now for each volume.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDOPTCTG.MEDLOC"></a>
<h3>Media location (MEDLOC)</h3>
<p>Specifies the location of the optical volume(s) to be added to an optical library..
</p>
<dl>
<dt><b><u>*IOSTATION</u></b></dt>
<dd>Add a single optical disk cartridge to an optical library from the input/output station.
</dd>
<dt><b>*MAGAZINE</b></dt>
<dd>Add multiple optical disk cartridges to an optical library from the bulk load magazine.
<p>
<b>Note: </b>Not all optical libraries are equipped with a bulk load magazine.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDOPTCTG.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Specify an Authorization List</b>
</p>
<p>
<pre>
ADDOPTCTG MLB(OPTMLB01) AUTL(MYAUTH)
</pre>
</p>
<p>This command adds an optical cartridge and its volumes to the system in optical media library OPT01. The optical cartridge is secured with the authorization list MYAUTH.
</p>
<p><b>Example 2: Specify a Media Location of *MAGAZINE</b>
</p>
<p>
<pre>
ADDOPTCTG MLB(OPTMLB01) AUTL(QOPTSEC) MEDLOC(*MAGAZINE)
</pre>
</p>
<p>This command adds all of the optical cartridges and volumes from the bulk load magazine to the system in optical media library OPTMLB01. All of the volumes added to optical media library OPTMLB01 will be secured by authorization list QOPTSEC.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDOPTCTG.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>OPT1245</b></dt>
<dd>Error processing directories for optical volume &amp;1.
</dd>
<dt><b>OPT1480</b></dt>
<dd>Add optical disk cartridge failed.
</dd>
<dt><b>OPT1530</b></dt>
<dd>&amp;1 does not represent a valid optical device.
</dd>
<dt><b>OPT1555</b></dt>
<dd>Optical device &amp;1 in use.
</dd>
<dt><b>OPT1652</b></dt>
<dd>Device &amp;1 is not an optical media library.
</dd>
<dt><b>OPT1671</b></dt>
<dd>Feature not installed for optical device &amp;1.
</dd>
<dt><b>OPT1672</b></dt>
<dd>Error accessing bulk load magazine for optical device &amp;1.
</dd>
<dt><b>OPT1675</b></dt>
<dd>Bulk load magazine is empty for optical device &amp;1.
</dd>
<dt><b>OPT1677</b></dt>
<dd>Bulk load magazine is open for optical device &amp;1.
</dd>
<dt><b>OPT1790</b></dt>
<dd>Operation not allowed or conflicts with another request.
</dd>
<dt><b>OPT1815</b></dt>
<dd>Internal program error occurred.
</dd>
<dt><b>OPT1860</b></dt>
<dd>Request to optical device &amp;1 failed.
</dd>
<dt><b>OPT1861</b></dt>
<dd>No device description configured for resource &amp;1.
</dd>
<dt><b>OPT1862</b></dt>
<dd>No active device description for resource &amp;1.
</dd>
<dt><b>OPT1863</b></dt>
<dd>Optical libraries need to be reclaimed.
</dd>
<dt><b>OPT2040</b></dt>
<dd>Error accessing backup control file.
</dd>
<dt><b>OPT2301</b></dt>
<dd>Internal system object in use.
</dd>
<dt><b>OPT2410</b></dt>
<dd>Authorization list &amp;1 for volume &amp;2 was not found.
</dd>
<dt><b>OPT7740</b></dt>
<dd>User not authorized to object &amp;2 in library &amp;3 type &amp;4.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDOPTCTG.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>