HP RPG/iX Utilities Reference Manual (30318-90006)

2-265
If Y (yes) is specified, the characters in the field appear in inverse video. If N (no) is specified, the
characters appear in normal video. If an indicator is specified, the field appears in inverse video when the
indicator is on.
Underline
Legal values for this field are Y, N, and 01-99.
If Y (yes) is specified, the field is underlined. If N (no) is specified, the field is not underlined. If an
indicator is specified, the field appears underlined when the indicator is on.
Output Field
Legal values for this field are Y, N, and 01-99.
If Y (yes) is specified, the field is an output field. An output field is a field in which variable data, constant
data, or a message is written to the screen when a form is displayed. If the field is not an input or input/
output field, data in that field cannot be changed by a user. An output field is used as follows:
If C is specified in the constant type entry, the field displays the literal specified for this field.
If M is specified in the constant type entry, and the message set number and message number entries
are specified, these numbers are used to obtain a message from the merged catalog file, which is then
displayed in this field at runtime. If the message number entries are not specified, the message set num-
ber and message number entries are taken from the RPG output buffer at runtime and used to obtain
the message text from the catalog file.
If the constant type entry is left blank, the field is used to display program data from the output buffer.
If N (no) is specified, the field is not an output field and the constant type field is ignored. If an indicator is
specified and the constant type entry is M or C, the results are as shown in Table 3. If an indicator is
specified and it is on, data from the program is displayed. Otherwise, blanks are displayed.
Input Field
Legal values for this field are Y and N.
If Y (yes) is specified, the field is an input field and may be defined in an input specification in your
program. If the field is defined as both an input and an output field, and initially contains a constant, the
constant may be overwritten prior to entry of the data. However, the output field must have an indicator
on for this to happen. If N (no) is specified, the field is not an input field and cannot accept data entered by
a user.
Table 7: Output Field and Indicators
Indicator is turned ON Indicator is turned OFF
M is the constant
type.
The message identified by the message set
number and message number from your
program is displayed.
The message identified by the message set
number and the message identifierin the
field is displayed. If the field is blank,
blanks are displayed.
C is the constant
type.
The data from your program output record
area is displayed.
The constant data from the forms file is
displayed.
Override operation
is performed.
The data given by your program or the
message identified by your program is
displayed.
The field is unchanged.