Entering content frame

 External Data Types 

External data types are the data types into which the Loader can convert internal database data types when it unloads application data, or they are the data types that the Loader converts into internal database data types when it loads data.

You can specify an external data type as a field specification in the unload or load command for each field value that you want to unload or load (see format_spec).

You cannot specify an external data type in the commands TABLEEXTRACT and TABLELOAD.

If no external data type is specified for a field value, the Loader selects the CHAR data type as the default for this field value. Therefore, if the field value does not have the data type CHAR or the data type CHAR is not desired, you must specify the data type.

The Loader can process the following external data types:

CHAR
(plain text value)

ASCII, UCS2, or UTF8-coded, depending on the server, max. 254 Bytes long

INTEGER
(Binary value)

Binary coded (server-specific), 1, 2, or 4 bytes long, sign in bit 0, negative values in two's complement notation

REAL
(Binary value)

Floating point notation with mantissa and exponent, 4 or 8 bytes long, in server-specific notation

DECIMAL
(Binary value)

Packed decimal: one digit per half byte, sign in extreme right half byte, 1 to 10 bytes long, maximum of 18 digits, the position of the decimal point is derived from the table column type

DECIMAL(n)
(Binary value)

n specifies the number of digits on the right of the decimal point

ZONED
(Binary value)

Zoned decimal: /370 zoned data format is permitted, the position of the decimal point is derived from the table column type

ZONED(n)
(Binary value)

n specifies the number of digits on the right of the decimal point

 

 

Leaving content frame