Rules for Condition-Name Values

IBM Extension
IBM Extension
  • The VALUE clause is allowed for internal floating-point data items.
  • The VALUE clause is allowed for DBCS items. Relation tests for DBCS data items are performed according to the rules for comparison of DBCS items.
  • The VALUE clause is allowed for national items. Relation tests for national data items are performed according to the rules for comparison of national items.
  • A condition-name can be associated with a date, time, or timestamp item. In this case:
    • The condition-name value must be specified as a non-numeric literal
    • Each condition-name implicitly has the FORMAT characteristics of the conditional variable. Thus, any relation test involving this condition-name is performed in accordance with the rules for comparing items of class date-time.
    • A THROUGH phrase can be specified when a conditional variable is of class date-time. In this case, the time or date of literal-1 must be less than literal-2.
End of IBM Extension
End of IBM Extension