Appendix C. Data models, table/file definitions, et al used in the DFC Customer Insight business solution
Figure C-6 Rewards Journal VSAM file field attributes
Example: C-3 Rewards Lookup XML file
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Bill Mathews
(IBM) -->
<!--Druid Bank Credit Card Rewards-->
<Reward xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSch
emaLocation="C:\MyShares\RewardsXML\Rewards.xsd">
emaLocation="C:\MyShares\RewardsXML\Rewards.xsd">
<id>100001</id>
<Short_Name>Travel2004</Short_Name>
<Description>Druid Bank Credit Card Travel Purchase
Awards</Description>
<Sponser>DruidBankTravel.com</Sponser>
<Card_Type>VISA</Card_Type>
<Affiliation>
<Name>We Get You There Airlines</Name>
<Points>3</Points>
<per_unit>1</per_unit>
<unit_type>Dollar</unit_type>
<Marketing_Msg>Use your Druid Bank Credit Card to purchase your
"We Get You There Airlines" tickets at DruidBankTravel.com and receive 3 points
for every dollar spent!</Marketing_Msg>
</Affiliation>
FIELD OFFSET LENGTH DATA
TYPE
Description
RECORD_TYPE 0 1 CHAR C (CREATE/NEW), U (UPDATE), D (DELETE), H
(HISTORICAL/PRIOR VIEW)
CHANGE_SEQ 1 2 PIC SEQUENCE NUMBER FOR GROUPED CHANGES, E.G.
CHANGE_TS 3 26 CHAR TIMESTAMP FOR CHANGE
CHANGE_SOURCE 29 1 CHAR S (SYSTEM GENERATED), R (CSR), C (CUSTOMER)
INITIATOR 30 10 PIC IDENTIFICATION NUMBER (CSR SERIAL NUMBER OR
CUSTOMER ID) FOR PERSON MAKING CHANGE
CCNUM 40 16 PIC CREDIT CARD NUMBER
LAST_NAME 56 30 CHAR LAST NAME
FIRST_NAME 86 30 CHAR FIRST NAME
PARTNER_ID_NUM 116 12 CHAR AIRLINE FREQUENT FLYER NUMBER
REWARDID 128 10 PIC REWARD PRODUCT ID CODE
POINTBALANCE 138 8 PIC POINTS BALANCE AS OF LAST MONTHLY PROCESSING
PROCESS_DATE 146 10 CHAR DATE OF LAST MONTHLY PROCESSING
CREATED_DATE 156 10 CHAR DATE MM-DD-YYYY
CREATED_BY 166 10 CHAR USERID OF PERSON CREATING ENTRY