Data Transformation Engine Type Tree Maker Reference Guide

Chapter 5 - Examples Import Example
Briefly, this procedure consists of the following:
Define the map that generates a Type Tree Maker document file from the input
metadata.
The Type Tree Maker generates a type tree from the document file. The type
tree defines several tables, their data fields and rows.
This type tree could then be used by another map (which is not supplied as
part of this example). The map could read or update rows in database tables
with the contents of some other input.
Installed Import Example Files
The following files are installed in the import folder:
File Use
createtable.mms Map file that contains the executable map TableImport,
which generates the output file acmetbls.mts. This .mts
file is the input to the Type Tree Maker. This is described
in the following section, Files Created.
acmemeta.mtt Type tree that defines the schema for the table, row, and
field types to be created. This tree contains the type
MetaFile, which defines the input to the map.
myimport.mtt Type tree that contains the definition of the Type Tree
Maker document file to be created.
acmedef.txt Data for the MetaFile input.
readme.txt Readme file that briefly describes the Import example.
Files Created
The following files are created when working through this example:
Files Created How the File is Created
acme_tables.mts Type Tree Maker document file created by running the
map.
acme_tables.mtt Type tree generated by the Type Tree Maker from the
acme_tables.mts file.