Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


Comparison of index-names and index data items

Comparisons involving index-names, index data items, or both conform to the following rules:

Valid comparisons for index-names and index data items are shown in the following table.

Table 26. Comparisons for index-names and index data items
Operands compared Index-name Index data item Data-name (numeric integer only) Literal (numeric integer only) Arithmetic Expression
Index-name Compare occurrence number Compare without conversion Compare occurrence number with content of referenced data item Compare occurrence number with literal Compare occurrence number with arithmetic expression
Index data item Compare without conversion Compare without conversion Invalid Invalid Invalid

Terms of use | Feedback

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