Sample XML and CSV files

This section contains sample XML mapping definition and sample CSV files for Job Reader Group.

Sample XML mapping definition

<table-config>
 <table name="JOB_RDR_GRP" transaction-type="INSERT_UPDATE" key-fields="JOB_ID,RDRGRP_ID" primary-key="JOBRDRGRP_ID">
  <fields>
    <field index="1" db-field="JOB_ID">
        <reference table-name="JOB" supplied-value="JOB_NAME" resolve-to-field="JOB_ID"/>
    </field>
    <field index="2" db-field="RDRGRP_ID">
        <reference table-name="READER_GROUP" supplied-value="RDRGRP_NAME" resolve-to-field="RDRGRP_ID"/>
    </field>
  </fields>
 </table>
</table-config>

Sample CSV file

RN,WB8000_GROUP1
LPN,WB8000_GROUP2
INTERN,WB8000_GROUP3