You can specify the external data type with a HEX value. This enables you to load or unload all data types in hexadecimal form. Every byte of data in the result is then represented by two hexadecimal numbers. Each value in the data file then occupies twice the amount of space as in the same format without the HEX specification.
FASTLOAD TABLE customer
cno 01-03 CHAR HEX
surname 04-12 CHAR HEX
zip 13-17 INTEGER HEX
place 18-29 CHAR HEX
INFILE 'customer.data' FORMATTED
DATALOAD TABLE article IF POS 40-47 INTEGER HEX > '0'
foa 01-08
des 09-39 NULL IF POS 09-11 = ' '
stock 40-47 INTEGER HEX
min_ord 47-48 INTEGER
price 48-55 DECIMAL (2)
weight 56-59 REAL
INFILE 'article.data' FORMATTED