Comparison operators

Use comparison operators in a relational-expression to compare a keyword with a numeric value. The comparison results in a true or false condition.

For example, to test for a return code of 8, code:
   //TESTA  IF  (RC = 8)  THEN

In the example, if a return code is 8, the expression is true; otherwise, the expression is false.

Blanks are not required to precede and follow special character comparison operators (such as > or ¬=). However, it is good practice to use blanks so your code is easier to read. Blanks are required to precede and follow alphabetic comparison operators (such as GT or EQ). Precede and follow the special character & with at least one blank so that it is not confused with symbolic parameters.