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

286 lines
9.8 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>Check Optical Volume (CHKOPTVOL)</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="CHKOPTVOL.Top_Of_Page"></a>
<h2>Check Optical Volume (CHKOPTVOL)</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="#CHKOPTVOL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHKOPTVOL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHKOPTVOL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHKOPTVOL"></a>
<p>The Check Optical Volume (CHKOPTVOL) command will validate that all directories and files on the volume can be read. If all directories and file data can be read successfully, the command will complete with no errors and the OUTPUT parameter specified determines whether or not to print a list of files and the number of bytes used. If any directory cannot be successfully read the command will complete in error with no output. If the directories can be read but all file data cannot be read, the command will complete in error and the OUTPUT parameter specified determines whether or not to print a list of damaged files, the number of files that are not damaged, and the number of bytes occupied for each.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>To use this command you must have *USE authority to the authorization list securing the volume.
</li>
<li>If this command is being used to check a volume with the Universal Disk Format (UDF), the user must have *RWX authority to the volume root directory.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHKOPTVOL.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="#CHKOPTVOL.VOL"><b>VOL</b></a></td>
<td valign="top">Volume identifier</td>
<td valign="top"><i>Character value</i>, *ALL, *MOUNTED</td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CHKOPTVOL.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*ERROR</u></b>, *NONE, *PRINT</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CHKOPTVOL.DEV"><b>DEV</b></a></td>
<td valign="top">Optical device</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHKOPTVOL.VOL"></a>
<h3>Volume identifier (VOL)</h3>
<dl>
<dt><b>*ALL</b></dt>
<dd>All optical volumes in the specified optical device (DEV parameter) are checked.
</dd>
<dt><b>*MOUNTED</b></dt>
<dd>The volume mounted on the specified device (DEV parameter) is checked.
<p>
<b>Note: </b>This value is valid only for stand-alone optical devices, not for library devices.
</p>
</dd>
<dt><b><i>volume-identifier</i></b></dt>
<dd>Specifies the volume identifier of the optical volume to be checked.
</dd>
<dt><b><i>generic*-volume-identifier</i></b></dt>
<dd>Specify the generic name of the volume 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 will result in the check of all volumes which begin with the generic prefix and for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHKOPTVOL.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether or not the output from the command is printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*ERROR</u></b></dt>
<dd>Print the list of damaged files to the job's spooled output only if there are any damaged files.
</dd>
<dt><b>*NONE</b></dt>
<dd>The number of damaged files and the number of not damaged files will be in the completion message, but no spooled output file is generated.
</dd>
<dt><b>*PRINT</b></dt>
<dd>Print to the job's spooled output even if there are not any damaged files.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHKOPTVOL.DEV"></a>
<h3>Optical device (DEV)</h3>
<p>Specifies the name of the optical device to use for the operation.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>When the VOL parameter is a specific name or a generic name the names of all of the optical volumes in all of the devices will be compared for a match.
</dd>
<dt><b><i>name</i></b></dt>
<dd>When VOL(*MOUNTED) this is the name of the specified optical device. When the VOL(*ALL) all of the volumes in this device will be checked.
</dd>
</dl>
<p>
<b>Note: </b>This value is valid only when VOL(*ALL) or VOL(*MOUNTED) is specified. Otherwise this parameter is ignored.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHKOPTVOL.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Check an Optical Volume</b>
</p>
<p>
<pre>
CHKOPTVOL VOL(VOL01) OUTPUT(*ERROR)
</pre>
</p>
<p>This command checks the directories and files on VOL01. If any damaged files are found the file names are printed to the job's spooled output.
</p>
<p><b>Example 2: Check an Optical Volume and Print the Results to the Job's Spooled Output</b>
</p>
<p>
<pre>
CHKOPTVOL VOL(VOL01) OUTPUT(*PRINT)
</pre>
</p>
<p>This command checks the directories and files on VOL01 and prints a list of damaged files, the number of files that are not damaged, and the number of bytes occupied for each.
</p>
<p><b>Example 3: Check Optical Volumes Using a Generic Volume Identifier</b>
</p>
<p>
<pre>
CHKOPTVOL VOL(PAY*) OUTPUT(*ERROR) DEV(*ALL)
</pre>
</p>
<p>This command checks the directories and files on all volumes in all optical devices that start with PAY. Spooled output created only if error occurs.
</p>
<p><b>Example 4: Check all Optical Volumes in an Optical Media Library</b>
</p>
<p>
<pre>
CHKOPTVOL VOL(*ALL) OUTPUT(*ERROR) DEV(OPTMLB01)
</pre>
</p>
<p>This command checks the directories and files on all volumes in optical media library OPTMLB01.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHKOPTVOL.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>OPT0125</b></dt>
<dd>Command &amp;1 completed with errors, more information in job log.
</dd>
<dt><b>OPT1320</b></dt>
<dd>Optical volume &amp;1 in use.
</dd>
<dt><b>OPT1325</b></dt>
<dd>Optical volume format not recognized.
</dd>
<dt><b>OPT1330</b></dt>
<dd>Optical volume not found or not useable.
</dd>
<dt><b>OPT1331</b></dt>
<dd>Optical volume &amp;1 not found.
</dd>
<dt><b>OPT1340</b></dt>
<dd>Optical volume &amp;1 not initialized.
</dd>
<dt><b>OPT1346</b></dt>
<dd>Operation not allowed to volume located in a remote optical device.
</dd>
<dt><b>OPT1460</b></dt>
<dd>Optical volume &amp;1 is not in an optical device.
</dd>
<dt><b>OPT148A</b></dt>
<dd>Volume name matching pattern not found.
</dd>
<dt><b>OPT1515</b></dt>
<dd>Unsupported or insufficient configuration on optical device &amp;1.
</dd>
<dt><b>OPT1530</b></dt>
<dd>&amp;1 does not represent a valid optical device.
</dd>
<dt><b>OPT1542</b></dt>
<dd>Operation not supported to optical volume.
</dd>
<dt><b>OPT1555</b></dt>
<dd>Optical device &amp;1 in use.
</dd>
<dt><b>OPT1605</b></dt>
<dd>Media or device error occurred.
</dd>
<dt><b>OPT1790</b></dt>
<dd>Operation not allowed or conflicts with another request.
</dd>
<dt><b>OPT1805</b></dt>
<dd>Error accessing optical volume index file.
</dd>
<dt><b>OPT1810</b></dt>
<dd>Error accessing optical directory index file.
</dd>
<dt><b>OPT1815</b></dt>
<dd>Internal program error occurred.
</dd>
<dt><b>OPT1820</b></dt>
<dd>Internal error occurred on optical device &amp;1.
</dd>
<dt><b>OPT1821</b></dt>
<dd>Error occurred on optical device &amp;1.
</dd>
<dt><b>OPT1825</b></dt>
<dd>Optical indexes are incorrect for optical device &amp;1.
</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>OPT1864</b></dt>
<dd>Insufficient allocated and operational optical drives.
</dd>
<dt><b>OPT1872</b></dt>
<dd>Optical request timed out or was cancelled.
</dd>
<dt><b>OPT2046</b></dt>
<dd>Check Optical Volume completed. &amp;2 damaged files were found.
</dd>
<dt><b>OPT2051</b></dt>
<dd>The check optical volume request for optical volume &amp;1 failed.
</dd>
<dt><b>OPT2301</b></dt>
<dd>Internal system object in use.
</dd>
<dt><b>OPT2420</b></dt>
<dd>Not authorized to optical volume &amp;2.
</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="#CHKOPTVOL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>