Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
_TURNON
A-130
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
DSNM Library Services
_TURNON
_TURNON turns on all the bits in int-var that are on in bit-mask.
int-var input/output
INT:ref
is a variable, the bits of which are turned on according to the contents of
bit-mask.
bit-mask input
INT:value
is an INT expression, the one-bits of which identify the bits in int-var to turn on.
Example
The following example turns on bits 9 and 11 in var:
INT var;
LITERAL evta = %20; !evta.<11> on
LITERAL evtb = %100; !evtb.<9> on
_TURNON (var, evta + evtb); !var.<9> and var.<11> now on
_TURNON ( int-var , bit-mask );