172 lines
5.7 KiB
HTML
172 lines
5.7 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>Display Optical Locks (DSPOPTLCK)</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="DSPOPTLCK.Top_Of_Page"></a>
|
||
|
<h2>Display Optical Locks (DSPOPTLCK)</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="#DSPOPTLCK.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DSPOPTLCK.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DSPOPTLCK.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DSPOPTLCK"></a>
|
||
|
<p>The Display Optical Locks (DSPOPTLCK) command displays a list of locks held on an optical volume, directory, or file. If TYPE(*JOB) is specified, this command displays a list of all jobs currently performing an optical request. The information can be printed or displayed.
|
||
|
</p>
|
||
|
<p>This command does not identify any locks to volumes, directories, or files which are in remote optical servers. It also does not identify any jobs which are currently using a remote optical server. Use the Display Optical Server (DSPOPTSVR) command with TYPE(*CONV) specified to determine if any jobs are currently using a remote optical server.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DSPOPTLCK.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="#DSPOPTLCK.TYPE"><b>TYPE</b></a></td>
|
||
|
<td valign="top">Type</td>
|
||
|
<td valign="top">*VOL, *DIR, *FILE, *JOB</td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPOPTLCK.VOL"><b>VOL</b></a></td>
|
||
|
<td valign="top">Volume identifier</td>
|
||
|
<td valign="top"><i>Character value</i></td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPOPTLCK.PATH"><b>PATH</b></a></td>
|
||
|
<td valign="top">Path</td>
|
||
|
<td valign="top"><i>Character value</i></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPOPTLCK.OUTPUT"><b>OUTPUT</b></a></td>
|
||
|
<td valign="top">Output</td>
|
||
|
<td valign="top"><b><u>*</u></b>, *PRINT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DSPOPTLCK.TYPE"></a>
|
||
|
<h3>Type (TYPE)</h3>
|
||
|
<p>Specifies the type of locks to be displayed or printed.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*VOL</b></dt>
|
||
|
<dd>Job information and locks on the specified optical volume are displayed or printed.
|
||
|
</dd>
|
||
|
<dt><b>*DIR</b></dt>
|
||
|
<dd>Job information and locks on the specified optical directory are displayed or printed.
|
||
|
</dd>
|
||
|
<dt><b>*FILE</b></dt>
|
||
|
<dd>Job information and locks on the specified optical file are displayed or printed.
|
||
|
</dd>
|
||
|
<dt><b>*JOB</b></dt>
|
||
|
<dd>Job information and locks on all jobs currently performing optical requests are displayed or printed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPOPTLCK.VOL"></a>
|
||
|
<h3>Volume identifier (VOL)</h3>
|
||
|
<p>Specifies the volume identifier of the optical volume for which the locks are listed.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPOPTLCK.PATH"></a>
|
||
|
<h3>Path (PATH)</h3>
|
||
|
<p>Specifies the path name of the directory or file on the volume for which the locks are listed.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is valid only if TYPE(*DIR) or TYPE(*FILE) is specified.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPOPTLCK.OUTPUT"></a>
|
||
|
<h3>Output (OUTPUT)</h3>
|
||
|
<p>Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>Output requested by an interactive job is shown on the display. If the command is run as part of a batch job, the output is printed with the job's spooled output.
|
||
|
</dd>
|
||
|
<dt><b>*PRINT</b></dt>
|
||
|
<dd>The output is printed with the job's spooled output.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DSPOPTLCK.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Displaying Locks on a File</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DSPOPTLCK TYPE(*FILE) VOLUME(VOL001)
|
||
|
PATH('/PAYROLL/JAN1995')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command displays the locks held on the file JAN1995 in the directory /PAYROLL on the VOL001 volume.
|
||
|
</p>
|
||
|
<p><b>Example 2: Displaying Locks for Active Jobs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DSPOPTLCK TYPE(*JOB)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command diplays a list of active jobs performing optical requests.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DSPOPTLCK.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>OPT1318</b></dt>
|
||
|
<dd>File name is too long.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPOPTLCK.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|