DSNTIAUL-formatted output (FORMAT DSNTIAUL)
To produce an output file in which the unloaded data matches the format of the IBM DSNTIAUL program, specify FORMAT DSNTIAUL.
Unlike the DSNTIAUL program, UNLOAD PLUS (using DIRECT YES) supports ASCII and Unicode output.
When you specify FORMAT DSNTIAUL, UNLOAD PLUS performs the following functions:
- Provides data for all data types in internal format except for the date, time, and timestamp data types, which it provides in external format
- Pads all variable-length fields (VARCHAR, VARGRAPHIC, and VARBINARY) with X'00' to their maximum length
- Creates fixed-length output records with a maximum length of 32760 bytes
- Treats a string constant as variable length
Puts a one-byte null indicator field after all nullable fields
The null indicator field contains either X'6F' if the field is null or X'00' if it is not null.
RestrictionsNote the following restrictions when you specify FORMAT DSNTIAUL:
- You cannot use this option when unloading LOB or XML data. UNLOAD PLUS terminates in this case.
- When you specify FORMAT DSNTIAUL, UNLOAD PLUS sets the following options to the values shown:
- FIXEDVARCHAR to YES
- NULLCHAR to ‘?’
- NULLTYPE to T1
- CONSTRULES to STANDARD
- When you specify FORMAT DSNTIAUL, UNLOAD PLUS ignores the TRIM option.
Related topics
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*