MAPVAL (Map Values) Keyword for Display Files--Example

Figure 199 shows how to specify the MAPVAL keyword.

Figure 199. Specifying the MAPVAL Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A
00020A          R RECORD
00030A            DATFLD1         L         DATFMT(*MDY) DATSEP('/')
00040A                                      MAPVAL(('01/01/40' *BLANK))
 

On output, if the field data equals '01/01/40', the field data is changed to all blanks. On input, if the field data is blank, the field data is changed to '01/01/40'.