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


Choosing efficient data types

Choosing the appropriate data type and PICTURE clause can produce more efficient code, as can avoiding USAGE DISPLAY and USAGE NATIONAL data items in areas that are heavily used for computations.

Consistent data types can reduce the need for conversions during operations on data items. You can also improve program performance by carefully determining when to use fixed-point and floating-point data types.

related concepts
Formats for numeric data

related tasks
Choosing efficient computational data items
Using consistent data types
Making arithmetic expressions efficient
Making exponentiations efficient


Terms of use | Feedback

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