Figure 21 shows how to specify the ALWNULL keyword.
Figure 21. Specifying 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.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.