Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

DSNM Library Services
Distributed Systems Network Management (DSNM) Subsystem Interface Development
Guide109759 A-79
_OFF
_OFF
_OFF is a Boolean define statement that is TRUE if any one-bit of bit-mask is off in
int-exp. TRUE is nonzero, not necessarily -1.
The _OFF function is the same as the _ALLOFF function. It is more descriptive to use
_ALLOFF when testing more than one bit.
int-exp input
INT:value
is the INT expression compared with bit-mask.
bit-mask input
INT:value
is an INT expression, the one-bits of which identify the bits in int-exp to test.
Example
The following example tests if the _EV^STARTUP bit is off in _LAST^EVENTS:
IF _OFF (_LAST^EVENTS, _EV^STARTUP)
THEN ... ;
_OFF ( int-exp , bit-mask )