Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, 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 1. 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

This information center is powered by Eclipse technology. (http://www.eclipse.org)