ERASEINP (Erase Input) Keyword for Display Files--Example

Figure 163 shows how to specify the ERASEINP keyword.

Figure 163. Specifying the ERASEINP Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A*
00020A*
00030A*
00040A          R RECORD1                   OVERLAY
00050A              :                       ERASEINP
00060A              :
00070A              :
00080A*           (All changed input-capable fields on the screen are erased)
00090A              :
00100A              :
00110A              :
00120A          R RECORD2                   OVERLAY
00130A              :                       ERASEINP(*ALL)
00140A              :
00150A              :
00160A*           (All unprotected input-capable fields on the screen are erased
00170A*             whether changed or not)
00180A
00190A
00200A          R RECORD3                   OVERLAY
00210A  32                                  ERASEINP(*MDTON)
00220A N32                                  ERASEINP(*ALL)
00230A            FIELD1         5   I      DSPATR(PR)
00240A              :
00250A              :
00260A              :
00270A*           (FIELD1 is never erased)
     A