HP RPG/iX Utilities Reference Manual (30318-90006)
2-267
Examples of numeric and signed numeric data types are shown below.
Entered on screen In buffer
Numeric: 1234.5 12345
Signed numeric: -1234 123M
or
1234- 123M
A blank is represented by a .
Mandatory Enter
Legal values for this field are Y and N.
If Y (yes) is specified, the user must enter at least one character in the field before input from the form can
be returned to your program. If N (no) is specified, information does not need to be entered in that field.
Mandatory Fill
Legal values for this field are Y and N.
If Y (yes) is specified and the user enters at least one character in the field, the user must enter nonblank
characters in all positions in the field. Nonblank characters are any characters entered from the keyboard,
except the blank space. Alternatively, the field can be left completely blank. If Y is specified for Mandatory
Fill for a signed numeric field, the user must enter a trailing minus sign for the negative fields. If N (no) is
specified, the field does not have to be completely filled to be accepted.
Enable Duplication
Legal values for this field are Y and N.
If Y (yes) is specified, the duplicate (Dup) key can be pressed in the field. When the the user presses the
Dup key, f8 , the cursor advances to the next field. The position of the cursor and the remainder of the
field are filled with the duplicate character value (hexadecimal 1C), which is displayed as a single
character. The Dup key does not do actual duplication. The user program must check for the duplicate
character and do the duplication. If N (no) is specified, the "dup" key is not valid and causes an error.
NOTE Thisfeature is generally used indata entry programs to simulate the dedicated "Dup"
key found on specialized data entry equipment.
Adjust Fill
Legal values for this field are Z and B.
If Z is specified (indicating right-justified, zero-filled), information entered in the field is right-justified
with all unused positions in the field filled with zeros when the field is sent back to your RPG program. If B
is specified (indicating right-justified, blank-filled), the information entered in the field is right-justified
with all unused positions filled with blanks when the field is sent to your RPG program. If this entry is left
blank, right-justified, blank-filled is assumed on input for signed numeric fields. No-adjust, no-fill is
assumed for other fields.
NOTE Adjust/fill has no effect if Mandatory Fill is specified for the field.
Self-Check
Legal values for this field are found in appendix C.
The self-check entry is used only for numeric fields. It is used, for example, to catch errors on entering