While the defaults are set to avoid this in most cases, it is possible for the EXPORT facility to produce unwanted data truncation.
Under the expected-defaults, this can only occur in the following circumstances:
- During a KanjiEUC session where cs3 characters exist in a string without a corresponding number of cs0 characters.
- During a KanjiEBCDIC session where a string exists with highly interspersed single-byte and multibyte characters.
The examples that follow illustrate how unwanted truncation can occur during the export process.
Note that you can avoid these types of truncation by using the CAST function. For information, see “CAST Function” in SQL Functions, Operators, Expressions, and Predicates.