Use this field-level keyword to define this field to allow the null value.
This keyword has no parameters.
When you specify the ALWNULL keyword, the maximum length you can specify in positions 30 to 34 is 32 765 bytes (32 739 if the field is also variable length).
For physical files, when you specify the DATFMT keyword with values of *JOB, *MDY, *DMY, *YMD, or *JUL and the field allows null value, you must specify a valid date on the DFT keyword for this field.
The following example shows how to specify the ALWNULL keyword.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R RECORD1 00020A FIELD1 75A ALWNULL 00030A FIELD2 100A 00040A FIELD3 L ALWNULL 00050A DATFMT(*MDY) 00060A DFT('12/25/93') A
FIELD1 is defined to allow the null value. The default value of FIELD1 is the null value. FIELD2 is defined to not allow the null value. The default value of FIELD2 is blanks.