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

102 lines
5.9 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="Trigger programs: Data structures of database used in the examples" />
<meta name="abstract" content="This topic describes the data structures that are used in this application." />
<meta name="description" content="This topic describes the data structures that are used in this application." />
<meta name="DC.Relation" scheme="URI" content="rbaforzahftri.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="rbaforzahftrt" />
<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 programs: Data structures of database used in the examples</title>
</head>
<body id="rbaforzahftrt"><a name="rbaforzahftrt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Trigger programs: Data structures of database used in the examples</h1>
<div><p>This topic describes the data structures that are used in this
application.</p>
<div class="section"><div class="p"><ul><li>ATMTRANS : /* Transaction record */ <pre> ATMID CHAR(5) (KEY) /* ATM** machine ID number */
ACCTID CHAR(5) /* Account number */
TCODE CHAR(1) /* Transaction code */
AMOUNT ZONED /* Amount to be deposited or */
/* withdrawn */</pre>
</li>
<li>ATMS : /* ATM machine record */ <pre> ATMN CHAR(5) (KEY) /* ATM machine ID number */
LOCAT CHAR(2) /* Location of ATM */
ATMAMT ZONED /* Total amount in this ATM */
/* machine */</pre>
<table cellpadding="4" cellspacing="0" border="1" class="tableborder"><tr><td>
<table cellpadding="4" cellspacing="0" summary="" width="90%" border="0"><thead align="left"><tr><th align="center" valign="bottom" width="33.33333333333333%" id="d0e31">ATMN</th>
<th align="center" valign="bottom" width="33.33333333333333%" id="d0e33">LOCAT</th>
<th align="center" valign="bottom" width="33.33333333333333%" id="d0e35">ATMAMT</th>
</tr>
</thead>
<tbody><tr><td align="center" valign="top" width="33.33333333333333%" headers="d0e31 ">10001</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e33 ">MN</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e35 ">200.00</td>
</tr>
<tr><td align="center" valign="top" width="33.33333333333333%" headers="d0e31 ">10002</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e33 ">MN</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e35 ">500.00</td>
</tr>
<tr><td align="center" valign="top" width="33.33333333333333%" headers="d0e31 ">10003</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e33 ">CA</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e35 ">250.00</td>
</tr>
</tbody>
</table>
</td></tr></table>
</li>
<li>ACCTS: /* Accounting record */ <pre> ACCTN CHAR(5) (KEY) /* Account number */
BAL ZONED /* Balance of account */
ACTACC CHAR(1) /* Status of Account */</pre>
<table cellpadding="4" cellspacing="0" border="1" class="tableborder"><tr><td>
<table cellpadding="4" cellspacing="0" summary="" width="90%" border="0"><thead align="left"><tr><th align="center" valign="bottom" width="33.33333333333333%" id="d0e71">ACCTN</th>
<th align="center" valign="bottom" width="33.33333333333333%" id="d0e73">BAL</th>
<th align="center" valign="bottom" width="33.33333333333333%" id="d0e75">ACTACC</th>
</tr>
</thead>
<tbody><tr><td align="center" valign="top" width="33.33333333333333%" headers="d0e71 ">20001</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e73 ">100.00</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e75 ">A</td>
</tr>
<tr><td align="center" valign="top" width="33.33333333333333%" headers="d0e71 ">20002</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e73 ">100.00</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e75 ">A</td>
</tr>
<tr><td align="center" valign="top" width="33.33333333333333%" headers="d0e71 ">20003</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e73 ">0.00</td>
<td align="center" valign="top" width="33.33333333333333%" headers="d0e75 ">C</td>
</tr>
</tbody>
</table>
</td></tr></table>
</li>
</ul>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahftri.htm" title="This topic provides examples of trigger programs written in C, COBOL, and RPG.">Examples: Trigger programs</a></div>
</div>
</div>
</body>
</html>