ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rfmlexqcustcdt.htm

102 lines
5.1 KiB
HTML
Raw Permalink 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: RFML source file" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rfmlexqcustcdt" />
<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: RFML source file</title>
</head>
<body id="rfmlexqcustcdt"><a name="rfmlexqcustcdt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Example: RFML source file</h1>
<div><p></p>
<div class="section"><p>This example RFML source file defines the format of customer records
as used in the RFML example <a href="rfmlcompare.htm#rfmlcompare">Using
RFML compared to using IBM<sup>®</sup> Toolbox for Java™ Record classes</a>. This RFML source
file might be a text file named qcustcdt.rfml.</p>
</div>
<div class="section"><div class="note"><span class="notetitle">Note:</span> Read the <a href="codedisclaimer.htm#codedisclaimer">Code
example disclaimer</a> for important legal information.</div>
</div>
<div class="section"><div class="p"><pre>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
&lt;!DOCTYPE rfml SYSTEM "rfml.dtd"&gt;
&lt;rfml version="4.0" ccsid="819"&gt;
&lt;recordformat name="cusrec"&gt;
&lt;data name="cusnum" type="zoned" length="6" precision="0" init="0"/&gt;
&lt;data name="lstnam" type="char" length="8" ccsid="37" init="A"/&gt;
&lt;data name="init" type="char" length="3" ccsid="37" init="B"/&gt;
&lt;data name="street" type="char" length="13" ccsid="37" init="C"/&gt;
&lt;data name="city" type="char" length="6" ccsid="37" init="D"/&gt;
&lt;data name="state" type="char" length="2" ccsid="37" init="E"/&gt;
&lt;data name="zipcod" type="zoned" length="5" init="1"/&gt;
&lt;data name="cdtlmt" type="zoned" length="4" init="2"/&gt;
&lt;data name="chgcod" type="zoned" length="1" init="3"/&gt;
&lt;data name="baldue" type="zoned" length="6" precision="2" init="4"/&gt;
&lt;data name="cdtdue" type="zoned" length="6" precision="2" init="5"/&gt;
&lt;/recordformat&gt;
&lt;recordformat name="cusrec1"&gt;
&lt;data name="cusnum" type="zoned" length="6" precision="0" init="0"/&gt;
&lt;data name="lstnam" type="char" length="8" ccsid="37" init="A"/&gt;
&lt;data name="init" type="char" length="3" ccsid="37" init="B"/&gt;
&lt;data name="street" type="char" length="13" ccsid="37" init="C"/&gt;
&lt;data name="city" type="char" length="6" ccsid="37" init="D"/&gt;
&lt;data name="state" type="char" length="2" ccsid="37" init="E"/&gt;
&lt;data name="zipcod" type="zoned" length="5" init="1"/&gt;
&lt;data name="cdtlmt" type="zoned" length="4" init="2"/&gt;
&lt;data name="chgcod" type="zoned" length="1" init="3"/&gt;
&lt;data name="baldue" type="struct" struct="balance"/&gt;
&lt;data name="cdtdue" type="struct" struct="balance"/&gt;
&lt;/recordformat&gt;
&lt;recordformat name="cusrecAscii"&gt;
&lt;data name="cusnum" type="zoned" length="6" precision="0" init="0"/&gt;
&lt;data name="lstnam" type="char" length="8" init="A"/&gt;
&lt;data name="init" type="char" length="3" init="B"/&gt;
&lt;data name="street" type="char" length="13" init="C"/&gt;
&lt;data name="city" type="char" length="6" init="D"/&gt;
&lt;data name="state" type="char" length="2" init="E"/&gt;
&lt;data name="zipcod" type="zoned" length="5" init="1"/&gt;
&lt;data name="cdtlmt" type="zoned" length="4" init="2"/&gt;
&lt;data name="chgcod" type="zoned" length="1" init="3"/&gt;
&lt;data name="baldue" type="zoned" length="6" precision="2" init="4"/&gt;
&lt;data name="cdtdue" type="zoned" length="6" precision="2" init="5"/&gt;
&lt;/recordformat&gt;
&lt;struct name="balance"&gt;
&lt;data name="amount" type="zoned" length="6" precision="2" init="7"/&gt;
&lt;/struct&gt;
&lt;/rfml&gt;</pre>
</div>
</div>
</div>
</body>
</html>