If no code attribute is specified in the command, the Loader uses a default value for the code attribute of the data stream. This is derived from the internal database data type of the column to be loaded. The following conversion table is used:
Internal Database Data Type |
External Code Attribute |
LONG ASCII |
ASCII |
LONG BYTE |
BINARY |
LONG UNICODE |
UCS2 |
If the external code attribute and the internal database data type are different, the Loader converts the data. If the types are incompatible, the Loader generates an error message and stops processing the command.
Compatibility Table
External Code Attribute |
Internal Database Data Type |
Compatible Yes/No |
ASCII |
LONG
ASCII |
yes |
UCS2 |
LONG
ASCII |
no |
BINARY |
LONG
ASCII |
no |
Each LONG Value to Be Inserted in a Separate LONG Data Stream
All LONG Values to Be Inserted in One LONG Data Stream