Specify FLOAT(NATIVE) to use the native floating-point representation format of the platform. For COBOL for Windows, the native format is the IEEE format.
| FLOAT option syntax |
|---|
|
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 zSeries, 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.
related references
Appendix B. zSeries host data format considerations