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:
- If option indicator 11 is set on, the Remaining on hand:
constant field would be changed to a highlighted field. To reset the
display attribute to normal, display the record format again with option
indicator 11 off.
- If option indicator 12 is set on, the program can change the displayed
value of the field INVBAL.
- If option indicator 70 is set off, the Low on stock constant
field is a nondisplay field. If option indicator 70 is set on, the
field is changed to a highlighted field.
- If option indicator 13 is set on, the program can set the value of the
field SUPPL to override the default value (INTERNAL). The first
displayed value is always INTERNAL; to display the value INTERNAL again
after changing it to something else, the program must set the value of the
field to INTERNAL before displaying it again.
- If option indicator 14 is set on, the display attribute of the field ACCT
is changed from highlight to highlight and reverse image at the same time that
new data is sent to the field. If option indicator 14 is set off, the
display attribute is changed back to highlight. New data is sent to the
display on each output operation.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.