Operator precedence in an expression


Parentheses may be used to control the order in which operations in an expression are performed, and may also be desirable simply to improve readability.

In the absence of parentheses, the following operator precedence will apply. Operators at the top of the list have the highest precedence and are performed first.

Operator

Operations

IF-THEN-ELSE

IF conditional operator

-, &SYSDATA operators

Unary minus, system data operators

NOT

Logical not

*, /

Multiplication, division

+, -

Addition, subtraction

EQ, NE, GT, GE, LT, LE, IS, ISNOT

Relational operators

AND, OR

Boolean operators

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Online Reorg for IMS 5.2