Data Types 

With most commands for loading and unloading data, you can specify the data type which the relevant field values have. This tells the REPM Server how to interpret the data in the data files.

When you load data, it is then converted into internal database data types, according to these instructions, and loaded into the appropriate table columns. When you unload data, it is converted into external data types and unloaded from the appropriate table columns.

You cannot specify the data type with the TABLELOAD and TABLEEXTRACT commands.

The external data type and corresponding internal data type of the relevant column (column type) in the target table do not have to be identical.

The article database table, for example, can require the FIXED data type in the ordered column. As a result, data of the data type INTEGER is then converted to the FIXED data type.

FASTLOAD TABLE article
foa 01-08
des 09-39 CHAR
stock 40-43 INTEGER
min_ord 44-45 INTEGER
ordered 46-49 INTEGER
delivery_date 50-57 CHAR
price 58-65 DECIMAL(2)
weight 66-69 REAL
INFILE 'article.data' FORMATTED