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

77 lines
5.5 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="reference" />
<meta name="DC.Title" content="Example: Record format *VBS" />
<meta name="abstract" content="This is an example of record format *VBS, which consists of graphics with explanations." />
<meta name="description" content="This is an example of record format *VBS, which consists of graphics with explanations." />
<meta name="DC.Relation" scheme="URI" content="formd.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="rbfvbs" />
<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>Example: Record format *VBS</title>
</head>
<body id="rbfvbs"><a name="rbfvbs"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Record format *VBS</h1>
<div><p><span>This is an example of record format *VBS,
which consists of graphics with explanations.</span></p>
<div class="section"><p>Variable-length, blocked, spanned (*VBS).</p>
</div>
<div class="example"> <div class="fignone" id="rbfvbs__rbahh516.eps"><a name="rbfvbs__rbahh516.eps"><!-- --></a><span class="figcap">Figure 1. Variable-length, blocked, spanned
(*VBS)</span><br /><img src="rbahh516.gif" alt="This depicts three blocks&#xA;all connected. Block 1, is comprised of XX YY, VV WW, All of Record A, VV&#xA;WW, and lastly the 1st segment of Record B. Block 1 then points to Block 2.&#xA;Block 2 is comprised of XX YY, VV WW, and the middle segment of Record B.&#xA;Block 2 then points to Block 3. Block 3 is comprised of XX YY, VV WW, the&#xA;last segment of Record B, VV WW, and all of Record C. Connected to the last&#xA;segment of Record B is TT CC and the actual data from the last segment of&#xA;B." /><br /></div>
</div>
<div class="example"> <div class="fignone" id="rbfvbs__rbahh517.eps"><a name="rbfvbs__rbahh517.eps"><!-- --></a><span class="figcap">Figure 2. Parts of record B</span><br /><img src="rbahh517.gif" alt="This diagram depicts the&#xA;part of Record B. The 1st part is comprised of TT CC and the 1st part of Record&#xA;B data. The 2nd part is comprised of TT CC and the 2nd part of Record B data.&#xA;The last part of Record B is comprised of TT CC and the last part of Record&#xA;B data." /><br /></div>
</div>
<div class="section"><p><var class="varname">XX</var> and <var class="varname">YY</var> make
up the BDW for each data block. <var class="varname">XX</var> is the length of all
records in each block plus the length of the BDW (4 bytes). <var class="varname">YY</var> represents
currently reserved fields and must be 00. <var class="varname">XX</var> should be
the actual length of the data block that is written.</p>
</div>
<div class="section"><p>Note that logical record B spans across three actual data blocks
on the tape.</p>
</div>
<div class="section"><div class="p">Each segment of record B has its own by mapping by including the
SDW. <var class="varname">TT</var> and <var class="varname">CC</var> make up the SDW. <var class="varname">TT</var> is
the length of the record plus the length of the SDW (4 bytes). <var class="varname">CC</var> is
the segment control character. The first byte of the <var class="varname">CC</var> defines
which part of the record the segment is. The values of the control character
can be: <ul><li> 00 binary - Complete logical record</li>
<li> 01 binary - First segment of a multi-segment record</li>
<li> 10 binary - Last segment of a multi-segment record</li>
<li> 11 binary - Middle segment of a multi-segment record</li>
</ul>
</div>
</div>
<div class="section"><p>The second byte of the control character is reserved, and should
be 0. <var class="varname">TT</var> should be the actual length of record
data segment plus the length of the SDW (4 bytes).</p>
</div>
<div class="section"><p>From a user's point of view, a logical view of record B is the
the same as other records defined above.</p>
</div>
<div class="example"> <div class="fignone" id="rbfvbs__rbahh518.eps"><a name="rbfvbs__rbahh518.eps"><!-- --></a><span class="figcap">Figure 3. Logical view of record B</span><br /><img src="rbahh518.gif" alt="Record B in this diagram&#xA;is comprised of VV WW and the 1st, middle, and last portions of Record B data,&#xA;concatenated." /><br /></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="formd.htm" title="Here are some examples of different record formats.">Record formats</a></div>
</div>
</div>
</body>
</html>