Use this record-level keyword to initialize output/input fields without necessarily sending the initialized data to the display when the PUTOVR and ERASEINP(*ALL) keywords are both in effect.
This keyword has no parameters.
INZINP is particularly useful for applications that perform data entry from remote work stations. It can reduce line traffic between the system unit and the remote work station.
The following steps describe how this keyword is used:
If the OVRDTA keyword is not in effect on an output operation, the program must clear the output buffer for the fields with the OVRDTA keyword specified to ensure that the input save area matches the fields on the display (which are all blanks after the output operation).
The following tables show the effect of the ERASEINP(*ALL) and PUTOVR
keywords with and without the INZINP keyword.
Table 5. INZINP Output/Input Fields
OVRATR or OVRDTA Keyword | INZINP Keyword | Contents of Input Save Area |
---|---|---|
Not specified | Does not apply | Previous contents |
Specified but not in effect | Specified but not in effect | Previous contents |
Specified but not in effect | Specified and in effect | Program value (not sent to display) |
OVRATR specified and in effect | Does not apply | Program value (also sent to display) |
OVRATR specified and in effect; OVRDTA not specified or not in effect | Does not apply | Previous contents (not sent to display) |
Table 6. INZINP Input Only Fields
OVRATR Keyword | INZINP Keyword | Contents of Input Save Area |
---|---|---|
Not specified | Does not apply | Previous contents |
Specified and in effect | Does not apply | Previous contents |
Specified but not in effect | Does not apply | Character fields: blanks Numeric fields: zeros |
Do the following to set the input save area to blanks and zeros to match the fields cleared at the work station by the ERASEINP(*ALL) keyword:
A warning message appears at file creation time if the INZINP keyword is specified on a record with the DSPMOD keyword. At run time, the INZINP keyword is ignored when the display mode changes.
Option indicators are valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.