PL/I supported expression operators

You can monitor an expression that uses the following operators only. For a complete description of expression operators, see PL/I Language Reference.

Operator type Character(s) Description
Arithmetic

+

*
/

Addition or prefix plus
Subtraction or prefix minus
Multiplication
Division

The plus sign and the minus sign can be prefix operators or infix operators. All other arithmetic operators can only be infix operators.
Bit

¬
&
|

Not, Exclusive-or
And
Or

The not, exclusive-or symbol (¬) can be used as a prefix or infix operator. The and symbol (&) and the or symbol (|) can be used as infix operators only.
Comparison

<
¬<
<=
=
¬=
¬>
>=
>

Less than
Not less than
Less than or equal to
Equal to
Not equal to
Not greater than
Greater than or equal to
Greater than

The result of a comparison operation is always a bit string of length 1. The value is '1'B if the relationship is true, or '0'B if the relationship is false.
String

||

Concatenation

Different types of operations can be combined within the same operational expression. Any combination can be used.

Feedback