FLTPCN (Floating-Point Precision) keyword for physical and logical files

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

The format of the keyword is:
FLTPCN(*SINGLE | *DOUBLE)
where *SINGLE is single precision and *DOUBLE is double precision. This keyword is valid for floating-point fields only (data type F).

If you do not specify the FLTPCN keyword, the default is single precision. 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 is sent and the file is not created.

Example

The following example shows how to specify the FLTPCN keyword.

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

FIELDA is a floating-point field with double precision.