ILE COBOL Programmer's Guide

What Conversion Means

A conversion is actually a move of a value from one data item to another. The compiler performs any conversions that are required during the execution of the arithmetic and comparison statements with the same rules that are used for MOVE and COMPUTE statements. The rules for moves are defined in WebSphere Development Studio: ILE COBOL Reference. When possible, the compiler performs the move to preserve the numeric value as opposed to a direct digit-for-digit move. (For more information on truncation and predicting the loss of significant digits, refer to Conversions and Precision.)


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