Sign in

docs RPG Reference

Positions 47-48 (Decimal Positions)

Positions 47-48 (Decimal Positions)

Entry : Explanation

Blank : Character, graphic, UCS-2, float, date, time, or timestamp field

0-63 : Number of decimal positions in numeric field.

This entry, used with the data format entry in position 36, describes the format of the field. An entry in this field identifies the input field as numeric (except float numeric); if the field is numeric, an entry must be made. The number of decimal positions specified for a numeric field cannot exceed the length of the field.