Relational expressions—Data extract expressions
Relational expressions are most often used with the WHEN keyword or in the IF clause of a conditional expression. Since the result of a relational operation has a numeric value (X'00' or X'01'), it can be used in an arithmetic expression.
A simple relational expression, consisting of a single term and no operator, is also allowed. The term can be a constant, variable, system data value, or arithmetic expression. In this case, if the term has a value of zero it is considered false. Any non-zero value is treated as true.
The terms in a relational expression can consist of mixed data types. If a comparison operator involves different type terms, they are converted to compatible types to allow a comparison to be performed.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*