The RWCS tests for a control break by comparing the content of each control data item with the prior content of each control data item that was saved when the previous GENERATE statement for the same report was executed. The RWCS applies the inequality relation test as follows:
- If the control data item is a numeric data item, the relation test is for the comparison of two numeric operands.
- If the control data item is an index data item, the relation test is for the comparison of two index data items.
- If the control data item is a data item other than as described in 3a and 3b above, the relation test is for the comparison of two nonnumeric operands.
The relation test is further explained in the appropriate paragraph. (See the topic Relation Condition.)