ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/rbam6labelexpand.htm

110 lines
6.6 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="LABEL parameter" />
<meta name="abstract" content="The LABEL parameter specifies the data file identifier of the data file on tape used in input and output operations." />
<meta name="description" content="The LABEL parameter specifies the data file identifier of the data file on tape used in input and output operations." />
<meta name="DC.Relation" scheme="URI" content="rbam6expand.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbam6labelexpand" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>LABEL parameter</title>
</head>
<body id="rbam6labelexpand"><a name="rbam6labelexpand"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">LABEL parameter</h1>
<div><p>The LABEL parameter specifies the data file identifier of the data
file on tape used in input and output operations.</p>
<div class="section"><p>The data file can be in either the exchange format or the save/restore
format.</p>
<div class="note"><span class="notetitle">Note:</span> The device file commands are used for tapes that are in the
exchange format only, <em>not</em> for those in the save/restore format; user-defined
device files are not used in save/restore operations. </div>
<p>Each data
file on tape has its data file identifier stored in its own file label. The
data file label (or header label) of each data file is stored on the tape
just before the data in the file. That is, each file on the tape has its own
header label and its own data records together as a unit, and one file follows
another. In addition to the data file identifier, each label also contains
other information about the file, such as the file sequence number, record
and block attributes, and whether it is a multivolume data file.</p>
<p>Generally,
the data file identifier is an alphanumeric character string that contains
no more than 8 characters. However, the maximum length actually depends on
several things: what data format is used for the files and CL commands in
which the identifiers are specified. The unused portion of the file identifier
field should be left blank.</p>
<p>The first character of the data file identifier
must be alphabetic (A through Z, $, #, or @) and the rest of the characters
<em>should</em> be alphanumeric (A through Z, 0 through 9, $, #, _, .,
and @). You can use special characters if the identifier is enclosed in apostrophes.
However, if the tape is used on a system other than an iSeries™ system,
the requirements for specifying identifiers on that system must be considered.
</p>
</div>
<div class="section"><h4 class="sectiontitle">Tape data file identifiers</h4><p>Tape data file identifiers
can have as many as 17 characters. However, if a tape is used on a system
other than an iSeries system,
a maximum of 8 characters, or a qualified identifier of no more than 17 characters,
should be used. If more than 8 characters are used, the identifier should
be qualified and enclosed in apostrophes so that no more than 8 characters
occur in either part, and the parts are separated by a period; for example,
LABEL('TAXES.JAN1980'). This limitation applies to the following commands: <span class="cmdname">Create
Tape File (CRTTAPF)</span>, <span class="cmdname">Change Tape File (CHGTAPF)</span>, <span class="cmdname">Override
Tape File (OVRTAPF)</span>, and <span class="cmdname">Display Tape (DSPTAP)</span>.</p>
<p>The
data file identifier is put on the volume when the data file is put on the
volume. For input/output operations, the identifier can be specified in one
of tape device file commands, or it can be passed as a parameter when the
device file is opened by the high-level language program that uses the file. </p>
</div>
<div class="section"><h4 class="sectiontitle">Save/Restore format</h4><p>For tapes in the save/restore
format, the identifier can have a maximum of 17 characters. If a library name
is used to generate the label, the identifier cannot exceed 10 characters.
You may specify a label other than a library name.</p>
</div>
<div class="section"><h4 class="sectiontitle">Values allowed</h4><p>One of the following values can be
specified for the LABEL parameter, depending upon the command.</p>
<dl><dt class="dlterm">*ALL</dt>
<dd>Labels for all the data file identifiers in the specified tape volumes
are shown on the display. </dd>
<dt class="dlterm">*NONE</dt>
<dd>The data file identifier is not specified. It must be supplied before
the device file (and/or database file) is opened to be used in the tape operation. </dd>
<dt class="dlterm">*SAME</dt>
<dd> The data file identifier already present in the tape device file does
not change. </dd>
<dt class="dlterm"><var class="varname">data-file-identifier</var></dt>
<dd>Specify the identifier of the data file used or displayed with the device
file description.</dd>
<dt class="dlterm">*LIB</dt>
<dd>The file label is created by the system and the name of the library specified
on the LIB parameter is used as the qualifier for the file name.</dd>
<dt class="dlterm">*SAVLIB</dt>
<dd> The file label is created by the system, and the name of the library
specified on the SAVLIB parameter is used as the qualifier for the file name.</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6expand.htm" title="This section contains the expanded descriptions of some of the parameters commonly used in the CL commands.">Commonly used parameters</a></div>
</div>
</div>
</body>
</html>