NULLTYPE
This option allows you to specify the location and length of the null indicator field in the output record.

This option is intended to facilitate compatibility with the UNLOAD PLUS for DB2 product.
The following table describes the values that you can specify for this option:
Values for the NULLTYPE option
Value | Description |
|---|---|
T1 | (default) Specifies that the null indicator is 1-byte long and trailing |
T2 | Specifies that the null indicator is 2-bytes long and trailing |
L1 | Specifies that the null indicator is 1-byte long and leading |
L2 | Specifies that the null indicator is 2-bytes long and leading |
You can use the NULLCHAR option instead of the NULLTYPE option. If you specify both the NULLTYPE and NULLCHAR options:
- The highest string value determines the null indicator length.
- The location value of the second option determines the null indicator position.
If the null indicator string value is 1-byte long, specifying NULLTYPE T2 or L2 duplicates it.
Considerations
The following considerations apply to the NULLTYPE option:
- If you specify SPANNED YES, this value applies only to the base table space. The LOB data will have a leading null indicator of X'FF' regardless of the value that you specify for this option.
- BMC AMI Unload ignores this option if you also specify FORMAT UNLOAD.
Related topics