ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatb_5.4.0.1/taplbl.htm

72 lines
5.2 KiB
HTML

<?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="concept" />
<meta name="DC.Title" content="Tape labeling" />
<meta name="abstract" content="Find out how tape on your system is labeled." />
<meta name="description" content="Find out how tape on your system is labeled." />
<meta name="DC.Relation" scheme="URI" content="concept.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="taplbl" />
<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>Tape labeling</title>
</head>
<body id="taplbl"><a name="taplbl"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Tape labeling</h1>
<div><p>Find out how tape on your system is labeled.</p>
<p>The following series of diagrams provides a basic description of standard tape labeling used for the <span class="keyword">iSeries™</span> system.</p>
<p>In <a href="#taplbl__rbahh526.eps">Figure 1</a>, the INZTAP command gives
the tape a volume label (marked VOL1) and writes two tape marks (TM).</p>
<div class="fignone" id="taplbl__rbahh526.eps"><a name="taplbl__rbahh526.eps"><!-- --></a><span class="figcap">Figure 1. Volume label and tape marks</span><br /><img src="rbahh526.gif" alt="As mentioned in the previous&#xA;sentence, this diagram displays a tape with a volume label of VOL1 and two&#xA;tape marks to the right of it labeled TM." /><br /></div>
<p>When a high-level language program opens a tape file, the system does the
following procedures:</p>
<ol><li>Writes over the two tape marks that follow the VOL label with header labels
HDR1 and HDR2</li>
<li>Adds a single tape mark that follows the header labels</li>
</ol>
<p>Each header label is 80 bytes long. <span>The first header label contains</span> such
information as the file name and date. <span>The second header label specifies</span> information
such as record and block lengths, record block format, and buffer offset (for
ASCII files).</p>
<p>When a high-level language program writes data to tape the system writes
the data to the tape after the tape mark. Reaching the end of the file the
system writes a tape mark and two end-of-file labels on the tape. The end-of-file
labels contain the same information as the header labels except that the first
end-of-file label (EOF1) includes the block count for the file.</p>
<p>Two tape marks follow the end-of-file labels as shown in the following
diagram in <a href="#taplbl__rbahh521.eps">Figure 2</a></p>
<div class="fignone" id="taplbl__rbahh521.eps"><a name="taplbl__rbahh521.eps"><!-- --></a><span class="figcap">Figure 2. End of file labels</span><br /><img src="rbahh521.gif" alt="This diagram shows two tape&#xA;files. The first tape file contains the following from left to right: VOL1&#xA;as a label, Header labels HDR1 and HDR2, a tape mark labeled TM and lastly&#xA;data. The end-of-file label includes the following from left to right: TM,&#xA;EOF1 and EOF2, TM and TM." /><br /></div>
<p>When the high-level language program adds a second file to the tape, the
system creates a header label (HDR1) for the new file. This header label (HDR1)
for the new file writes over the second tape mark following the end-of-file
labels. The second header label, another tape mark, and the file data follow
the new header label (HDR1) as illustrated in the following figure. </p>
<div class="fignone" id="taplbl__rbahh522.eps"><a name="taplbl__rbahh522.eps"><!-- --></a><span class="figcap">Figure 3. New header label</span><br /><img src="rbahh522.gif" alt="This graphic is described&#xA;in the above paragraph." /><br /></div>
<p>When the tape drive reaches the end of the physical tape, the system writes
two tape marks that follow the end-of-volume labels. If the file is not complete,
it continues on a second volume, which specifies the tape as
volume 2 of the file.</p>
<div class="fignone"><br /><img src="rbahh523.gif" alt="This graphic is also described&#xA;in the paragraph above." /><br /></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="concept.htm" title="Find out how tape files operate on your server.">Concepts</a></div>
</div>
</div>
</body>
</html>