PUTOVR (Put with Explicit Override) Keyword for Display Files--Example

Figure 231 shows how to specify the PUTOVR, OVRATR, and OVRDTA keywords.

Figure 231. Specifying the PUTOVR, OVRATR and OVRDTA Keywords

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R INVRCD                    PUTOVR
00020A            FLD1                  1 26'INVENTORY REMAINING IN WAREHOUSE 1'
00030A*
00040A                                  3  2'Remaining on hand:'
00050A                                      OVRATR
00060A  11                                  DSPATR(HI)
00070A*
00080A            INVBAL         5Y 0     +2
00090A  12                                  OVRDTA
00100A*
00110A                                    +2'Low on stock' OVRATR
00120A N70                                  DSPATR(ND)
00130A  70                                  DSPATR(HI)
00140A*
00150A            SUPPPL        20   B  5  2DFT('INTERNAL')
00160A  13                                  OVRDTA
00170A*
00180A            ACCT          20      6  2OVRDTA
00190A                                      DSPATR(HI)
00200A  14                                  DSPATR(RI)
     A

An initial output operation generates a full display of information; on a second output operation, PUTOVR is in effect and the program can set option indicators to make the following changes to the display: