The value is in error if it is out of range. Valid values check on a numeric variable. Check to see if the value is contained in a list of values. The user will supply the name of the numeric variable and the list of valid values. The value is in error if it is not contained in the list.
Valid values check on a character variable.
Check to see if the value is contained in a list of values. The user will supply the name of the character variable and the list of valid values. The value is in error if it is not contained in the list. The user will supply the name of the variable, either numeric or character.