FLTPCN (Floating-Point Precision) Keyword for Display Files

You use this field-level keyword to specify the precision of a floating-point field.

The format of the keyword is:
FLTPCN(*SINGLE | *DOUBLE)

The valid parameters are *SINGLE (single precision) and *DOUBLE (double precision). This keyword is valid for floating-point fields only (data type F).

A single precision field can be up to 9 digits; a double precision field can be up to 17 digits. If you specify a field length greater than 9 (single precision) or 17 (double precision), an error message appears and the file is not created.

Option indicators are not valid for this keyword.

Example

The following example shows how to specify the FLTPCN keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00090A            FIELDA        17F 4   1  5FLTPCN(*DOUBLE)
     A

FIELDA is a floating-point field with double precision.