DDS for printer files


FLTPCN (Floating-Point Precision) keyword in printer files

Use this keyword to specify the precision of a floating-point field.

The format of the keyword is:

FLTPCN(*SINGLE | *DOUBLE)

The *SINGLE parameter specifies single precision and the *DOUBLE parameter specifies 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 is issued 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   2  3FLTPCN(*DOUBLE)
     A

FIELDA is a floating-point field with double precision.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]