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

268 lines
9.1 KiB
HTML
Raw Permalink 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>Display Tape Status (DSPTAPSTS)</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="DSPTAPSTS.Top_Of_Page"></a>
<h2>Display Tape Status (DSPTAPSTS)</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="#DSPTAPSTS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPTAPSTS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPTAPSTS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPTAPSTS"></a>
<p>The Display Tape Status (DSPTAPSTS) command does the following:
</p>
<ul>
<li>Displays slot information associated with the media library device.
</li>
<li>Displays information about the resources attached to the media library device.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPTAPSTS.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="#DSPTAPSTS.DEV"><b>DEV</b></a></td>
<td valign="top">Library device</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DSPTAPSTS.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT, *OUTFILE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#DSPTAPSTS.OUTFILE"><b>OUTFILE</b></a></td>
<td valign="top">File to receive output</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: File to receive output</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" rowspan="3"><a href="#DSPTAPSTS.OUTMBR"><b>OUTMBR</b></a></td>
<td valign="top">Output member options</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Member to receive output</td>
<td valign="top">
<i>Name</i>, <b><u>*FIRST</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Replace or add records</td>
<td valign="top">
<b><u>*REPLACE</u></b>, *ADD</td>
</tr>
<tr>
<td valign="top"><a href="#DSPTAPSTS.OUTFILFMT"><b>OUTFILFMT</b></a></td>
<td valign="top">Outfile format</td>
<td valign="top"><b><u>*TYPE1</u></b>, *TYPE2</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPTAPSTS.DEV"></a>
<h3>Library device (DEV)</h3>
<p>Specifies the name of the media library device in which information is displayed.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Specifies that all tape media library devices defined through Create Device Media Library (CRTDEVMLB) command are displayed.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the device name. The device name must be a tape media library device name or a random access cartridge loader (RACL) device name. The device name must already be known to the system by Create Device Media Library (CRTDEVMLB) command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPTAPSTS.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting workstation, printed to an output file, or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The requested output is shown on the display. If this value is specified for a batch job, the effect is the same as if *PRINT were entered.
</dd>
<dt><b>*PRINT</b></dt>
<dd>The requested output is written to a spooled file, which is found in the job's output queue.
</dd>
<dt><b>*OUTFILE</b></dt>
<dd>The output is directed to a database file specified on the OUTFILE parameter. The file must have the same format as database file QATAIOF or QATAIOF2.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPTAPSTS.OUTFILE"></a>
<h3>File to receive output (OUTFILE)</h3>
<p>Specifies the database file to which the information about the tape media libraries is directed. If the file does not exist, this command creates a database file in the specified library. If a new file is created with OUTFILFMT(*TYPE1), the system uses QATAIOF in QSYS as a model with the format name of QTAIOUTF. If a new file is created with OUTFILFMT(*TYPE2), the system uses QATAIOF2 in QSYS as a model with the format name of QTAIOF2. This parameter is valid only when OUTPUT(*OUTFILE) is specified.
</p>
<p><b>Qualifier 1: File to receive output</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the database file to be used.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread 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>
<dt><b><i>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="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPTAPSTS.OUTMBR"></a>
<h3>Output member options (OUTMBR)</h3>
<p>Specifies the name of the database file member to which the output is directed when OUTPUT(*OUTFILE) is specified.
</p>
<p><b>Element 1: Member to receive output</b>
</p>
<dl>
<dt><b><u>*FIRST</u></b></dt>
<dd>The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the member does not exist, the system creates a member with the name of the file specified on the OUTFILE parameter.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the file member that is to receive the output. If a member name is specified and the member does not exist, the system creates it.
</dd>
</dl>
<p><b>Element 2: Replace or add records</b>
</p>
<dl>
<dt><b><u>*REPLACE</u></b></dt>
<dd>The existing records in the specified database file member are replaced by the new records.
</dd>
<dt><b>*ADD</b></dt>
<dd>The system adds the new records at the end of the existing member.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPTAPSTS.OUTFILFMT"></a>
<h3>Output member options (OUTFILFMT)</h3>
<p>Specifies the format of the output file when OUTPUT(*OUTFILE) is specified.
</p>
<dl>
<dt><b><u>*TYPE1</u></b></dt>
<dd>The format is defined by model output file QATAIOF in library QSYS with record format name QTAIOUTF.
</dd>
<dt><b>*TYPE2</b></dt>
<dd>The format is defined by model output file QATAIOF2 in library QSYS with record format name QTAIOF2.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPTAPSTS.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DSPTAPSTS DEV(LIB01) OUTPUT(*)
</pre>
</p>
<p>This command displays the valid information about this library device to the workstation display.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPTAPSTS.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF6718</b></dt>
<dd>Cannot allocate device &amp;1.
</dd>
<dt><b>CPF6745</b></dt>
<dd>Device &amp;1 not a media library device.
</dd>
<dt><b>CPF67E4</b></dt>
<dd>Library device function not successful
</dd>
<dt><b>CPF67E7</b></dt>
<dd>No library devices exist
</dd>
<dt><b>CPF9814</b></dt>
<dd>Device &amp;1 not found.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
<dt><b>CPF9845</b></dt>
<dd>Error occurred while opening file &amp;1.
</dd>
<dt><b>CPF9846</b></dt>
<dd>Error while processing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9847</b></dt>
<dd>Error occurred while closing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9860</b></dt>
<dd>Error occurred during output file processing.
</dd>
<dt><b>CPF9871</b></dt>
<dd>Error occurred while processing.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTAPSTS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>