EDTMSK (Edit Mask) Keyword for Display Files--Example

Figure 157 shows how to specify the EDTMSK keyword:

Figure 157. Specifying the EDTMSK Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A          R RECORD
A            F1            11  0B  3  4EDTWRD('0(   )   -    ')
A                                      EDTMSK(' &   &   &    ')
A            F2             6  0B  4  4EDTCDE(Y)
A                                      EDTMSK('  &  &  ')
A

In this example, the dash and parentheses in field 1 are protected. Also, the data separators in field 2 are protected.