ILE RPG Language Reference
Input
When inputting float values, the value is specified just like a
float literal. The value does not have to be normalized or adjusted
in the field. When float values are defined as array/table initialization
data, they are specified in fields either 14 or 23 characters long
(for 4F and 8F respectively).
Note the following about float fields:
- Alignment of float fields may be desired to improve the performance
of accessing float subfields. You can use the ALIGN keyword to align
float subfields defined on a definition specification. 4-byte float
subfields are aligned on a 4-byte boundary and 8-byte float subfields
are aligned along a 8-byte boundary. For more information on aligning
float subfields, see ALIGN.
- Length adjustment is not allowed when the LIKE keyword is used
to define a field like a float field.
- Float input fields cannot be defined as match or control fields.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]