Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


FLOAT

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
Read syntax diagramSkip visual syntax diagram          .-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 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


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)