ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbaforzahftrc.htm

184 lines
12 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="Trigger buffer sections" />
<meta name="abstract" content="The trigger buffer has two logical sections: a static section and a variable section." />
<meta name="description" content="The trigger buffer has two logical sections: a static section and a variable section." />
<meta name="DC.Relation" scheme="URI" content="rbaforzahftrb.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaforzahftrd.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="rbaforzahftrc" />
<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>Trigger buffer sections</title>
</head>
<body id="rbaforzahftrc"><a name="rbaforzahftrc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Trigger buffer sections</h1>
<div><p>The trigger buffer has two logical sections: a static section and
a variable section.</p>
<div class="p">The static section occupies (in decimal) offset 0 through 95. It contains
the following items: <ul><li>A trigger template that contains the physical file name, member name,
trigger event, trigger time, commit lock level, and CCSID of the current record
and relative record number.</li>
<li>Offsets and lengths of the record areas and null byte maps. </li>
</ul>
</div>
<p>The variable section contains areas for old record, old null byte map,
new record, and new null byte map.</p>
<p>The following table provides a summary of the fields in the trigger buffer.</p>
<div class="p">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" align="center" valign="top" id="d0e36">Offset</th>
<th rowspan="2" align="left" valign="bottom" width="20.13651877133106%" id="d0e38">Type</th>
<th rowspan="2" align="left" valign="bottom" width="40.27303754266212%" id="d0e40">Field</th>
</tr>
<tr><th align="center" valign="bottom" width="19.965870307167236%" id="d0e43">Dec</th>
<th align="center" valign="bottom" width="19.624573378839592%" id="d0e45">Hex</th>
</tr>
</thead>
<tbody><tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">0</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">0</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(10)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Physical file name</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">10</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">A</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(10)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Physical file library name</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">20</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">14</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(10)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Physical file member name</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">30</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">1E</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(1)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Trigger event</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">31</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">1F</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(1)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Trigger time</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">32</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">20</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(1)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Commit lock level</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">33</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">21</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(3)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Reserved</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">36</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">24</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">CCSID of data</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">40</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">28</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BIN(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Relative Record Number</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">44</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">2C</td>
<td valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(4)</td>
<td valign="top" width="40.27303754266212%" headers="d0e40 ">Reserved</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">48</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">30</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Original record offset</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">52</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">34</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Original record length</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">56</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">38</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Original record null byte map offset</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">60</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">3C</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Original record null byte map length</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">64</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">40</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">New record offset</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">68</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">44</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">New record length</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">72</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">48</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">New record null byte map offset</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">76</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">4C</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">BINARY(4)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">New record null byte map length</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">80</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">50</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(*)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Reserved</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">*</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">*</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(*)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Original record</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">*</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">*</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(*)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">Original record null byte map</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">*</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">*</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(*)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">New record</td>
</tr>
<tr><td align="center" valign="top" width="19.965870307167236%" headers="d0e36 d0e43 ">*</td>
<td align="center" valign="top" width="19.624573378839592%" headers="d0e36 d0e45 ">*</td>
<td align="left" valign="top" width="20.13651877133106%" headers="d0e38 ">CHAR(*)</td>
<td align="left" valign="top" width="40.27303754266212%" headers="d0e40 ">New record null byte map</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbaforzahftrd.htm">Trigger buffer field descriptions</a></strong><br />
This topic describes the fields that are contained in the trigger buffer, in alphabetical order.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahftrb.htm" title="These topics discuss how to create and work with trigger programs.">Create trigger programs</a></div>
</div>
</div>
</body>
</html>