FLOAT

Specify FLOAT(NATIVE) to use the native floating-point representation format of the platform. For COBOL for AIX, the native format is the IEEE format.

Read syntax diagramSkip visual syntax diagram
FLOAT option syntax

          .-NATIVE-.     
>>-FLOAT(-+-HEX----+-)-----------------------------------------><
          '-S390---'     

Default is: FLOAT(NATIVE)

Abbreviations are: None

FLOAT(HEX) and FLOAT(S390) are synonymous and indicate that COMP-1 and COMP-2 data items are represented consistently with System z, that is, in hexadecimal floating-point format:

However, COMP-1 and COMP-2 data items defined with the NATIVE keyword on the USAGE clause are not affected by the FLOAT(S390) option. They are always stored in the native format of the platform.