Entering content frame

 HEX Values 

You can use the additional specification HEX to describe an external data type as a hexadecimal 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. Every value in the data stream then occupies twice as much space as the value of the same data type without the specification as a HEX value.

FASTLOAD TABLE customer
  cno       01-03 CHAR HEX
  name    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'
  ano       01-08
  descr     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

Leaving content frame