Condition statements keywords

Any of the following keywords can be used on an IF statement to check the general characteristics of the data item selected in Value 1:

  • SPACE - checks for a blank value
  • ZERO - checks for a value of zero
  • NUMERIC - checks for a numeric value.

The EXISTS keyword can only be used in conjunction with a rule data set. A rule data set contains valid combinations of codes for a predefined group of data items. It acts as a lookup table for the data item combination. The EXISTS keyword determines whether or not the codes entered on the current record are a valid combination for the rule data set.

The data items that make up the combination are determined by the rule data set keys for the rule data set.