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

69 lines
4.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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 *V" />
<meta name="abstract" content="This is an example of record format *V, which consists of a graphic with an explanation." />
<meta name="description" content="This is an example of record format *V, which consists of a graphic with an explanation." />
<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="rbfv" />
<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 *V</title>
</head>
<body id="rbfv"><a name="rbfv"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: Record format *V</h1>
<div><p><span>This is an example of record format *V,
which consists of a graphic with an explanation.</span></p>
<div class="section"><p>Variable-length, deblocked, unspanned (*V).</p>
</div>
<div class="example"> <div class="fignone" id="rbfv__rbahh509.eps"><a name="rbfv__rbahh509.eps"><!-- --></a><span class="figcap">Figure 1. Variable-length, deblocked, unspanned
(*V)</span><br /><img src="rbahh509.gif" alt="This graphic displays two&#xA;blocks and a record. The two blocks are named Block 1 and Block 2, while the&#xA;record is named Record A. Block 1 is comprised of XX YY and a Record A. Block&#xA;2 is comprised of XX YY and a Record B. Record A is comprised of VV WW and&#xA;Record A data. Record A and Block 1 both point toward each other." /><br /></div>
</div>
<div class="section"><p><var class="varname">XX</var> and <var class="varname">YY</var> make
up the BDW. <var class="varname">XX</var> is the length of the record 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>Record A has its own mapping by including
the RDW. <var class="varname">VV</var> and <var class="varname">WW</var> make up the RDW. <var class="varname">VV</var> is
the length of the record plus the length of the RDW (4 bytes). <var class="varname">WW</var> are
currently reserved fields and must be 00. <var class="varname">VV</var> should be
the actual block length (the value in <var class="varname">XX</var>) minus 4 bytes
(size of BDW). <span class="keyword">i5/OS™</span> will
pad blocks to make the 18-byte block limit. This occurs if the record data
is less than 10 bytes (10 bytes plus 8 bytes of header information is the
18-byte block limit). <span class="keyword">i5/OS</span> will
pad the block with a byte of X'80' followed by bytes of X'00'.</p>
</div>
<div class="section"><div class="note"><span class="notetitle">Note:</span> Record-format *V tapes created by <span class="keyword">i5/OS</span> that
contain record data that is less than 10 bytes are not directly compatible
with OS/390<sup>®</sup> and z/OS<sup>®</sup>.
To process these tapes with OS/390 and z/OS, you need to code RECFM=VS or RECFM=VBS
on the DD statement even though the records are not spanned. This allows OS/390 and z/OS to
read the tapes without error.</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>