102 lines
5.1 KiB
HTML
102 lines
5.1 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: 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><?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||
|
<!DOCTYPE rfml SYSTEM "rfml.dtd">
|
||
|
|
||
|
<rfml version="4.0" ccsid="819">
|
||
|
|
||
|
<recordformat name="cusrec">
|
||
|
|
||
|
<data name="cusnum" type="zoned" length="6" precision="0" init="0"/>
|
||
|
<data name="lstnam" type="char" length="8" ccsid="37" init="A"/>
|
||
|
<data name="init" type="char" length="3" ccsid="37" init="B"/>
|
||
|
<data name="street" type="char" length="13" ccsid="37" init="C"/>
|
||
|
<data name="city" type="char" length="6" ccsid="37" init="D"/>
|
||
|
<data name="state" type="char" length="2" ccsid="37" init="E"/>
|
||
|
<data name="zipcod" type="zoned" length="5" init="1"/>
|
||
|
<data name="cdtlmt" type="zoned" length="4" init="2"/>
|
||
|
<data name="chgcod" type="zoned" length="1" init="3"/>
|
||
|
<data name="baldue" type="zoned" length="6" precision="2" init="4"/>
|
||
|
<data name="cdtdue" type="zoned" length="6" precision="2" init="5"/>
|
||
|
|
||
|
</recordformat>
|
||
|
|
||
|
<recordformat name="cusrec1">
|
||
|
|
||
|
<data name="cusnum" type="zoned" length="6" precision="0" init="0"/>
|
||
|
<data name="lstnam" type="char" length="8" ccsid="37" init="A"/>
|
||
|
<data name="init" type="char" length="3" ccsid="37" init="B"/>
|
||
|
<data name="street" type="char" length="13" ccsid="37" init="C"/>
|
||
|
<data name="city" type="char" length="6" ccsid="37" init="D"/>
|
||
|
<data name="state" type="char" length="2" ccsid="37" init="E"/>
|
||
|
<data name="zipcod" type="zoned" length="5" init="1"/>
|
||
|
<data name="cdtlmt" type="zoned" length="4" init="2"/>
|
||
|
<data name="chgcod" type="zoned" length="1" init="3"/>
|
||
|
<data name="baldue" type="struct" struct="balance"/>
|
||
|
<data name="cdtdue" type="struct" struct="balance"/>
|
||
|
|
||
|
</recordformat>
|
||
|
|
||
|
<recordformat name="cusrecAscii">
|
||
|
|
||
|
<data name="cusnum" type="zoned" length="6" precision="0" init="0"/>
|
||
|
<data name="lstnam" type="char" length="8" init="A"/>
|
||
|
<data name="init" type="char" length="3" init="B"/>
|
||
|
<data name="street" type="char" length="13" init="C"/>
|
||
|
<data name="city" type="char" length="6" init="D"/>
|
||
|
<data name="state" type="char" length="2" init="E"/>
|
||
|
<data name="zipcod" type="zoned" length="5" init="1"/>
|
||
|
<data name="cdtlmt" type="zoned" length="4" init="2"/>
|
||
|
<data name="chgcod" type="zoned" length="1" init="3"/>
|
||
|
<data name="baldue" type="zoned" length="6" precision="2" init="4"/>
|
||
|
<data name="cdtdue" type="zoned" length="6" precision="2" init="5"/>
|
||
|
|
||
|
</recordformat>
|
||
|
|
||
|
<struct name="balance">
|
||
|
<data name="amount" type="zoned" length="6" precision="2" init="7"/>
|
||
|
</struct>
|
||
|
|
||
|
</rfml></pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|