Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

Overview of the Library Services
3-54
109759Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
I Process Development Process
Overview of the Library Services
Table 3-1 lists the library services that support the I process development model.
Table 3-1. Summary of I Process Development Library Services (page 1 of 6)
Function Arguments Description
Booleans and Bit Manipulation
Given that: A is an INT variable and B is an INT expression; F is a bit mask INT expression specifying which
bits of the other operands are affected or participate in the operation; X and Y are INT(32) expressions.
Bit test Booleans
(true/false)
_ON (B, F) TRUE if any one-bit of F is on in B.
_OFF (B, F) TRUE if any one-bit of F is off in B.
_ANYON (B, F) TRUE if any one-bit of F is on in B.
_ANYOFF (B, F) TRUE if any one-bit of F is off in B.
_ALLON (B, F) TRUE if every one-bit of F is on in B.
_ALLOFF (B, F) TRUE if every one-bit of F is off in B.
Functions
returning a value
_EXTRACT (B, F); Has value of those one-bits of F that
are on in B.
_BITDEF (B ,[ max-bit ] ,[ min-bit ] ) Defines a bit within a specified range.
Executable
functions (no
value returned)
_TURNON (A, F); Turn on all one-bits of F in A.
_TURNOFF (A, F); Turn off all one-bits of F in A.
_DEPOSIT (A, B, F); Set bits in A equal to same bits in B as
selected by one-bits in F.
Executable
functions (value
returned)
_ALLON^TURNOFF (A, F); TRUE if every one-bit of F is on in A;
turns off every one-bit in A that is on in
F.
_ANYON^TURNOFF (A, F); TRUE if any one-bit of F is on in A;
turns off every one-bit in A that is on in
F.
Extended address
Booleans
_ISNULL (X) TRUE if X is a null extended memory
pointer.
_NOTNULL (X) TRUE if X is a nonnull extended
memory pointer.
_XADR^EQ ( X, Y ) TRUE if two valid extended addresses
are equal.
_XADR^NEQ ( X, Y ) TRUE if two valid extended addresses
are not equal.
Defining Objects
Generating
formatted object
structure
_INPUT^LM^HEADER ; Generates formatted object portion of
an input list member structure.
_OUTPUT^LM^HEADER ; Generates formatted object portion of
an output list member structure.
Initializing error := _FOBJECT^INIT ( new-fobject
,[same-fobject ] ,[parent-fobject ] );
Initializes new object.