Using NS3000/iX Network Services (36920-90008)

112 Chapter 6
Intrinsics for Node and Environment Status
NSINFO Intrinsic
26. list environments
length 16-bit integer. Contains the number of envnums
entered into the array supplied in item 27. If 0 is
returned then no environments matched generic
environment ID. This item must precede item 27.
27. list
environments Array of 100 16-bit integers. Will be filled with
envnums whose envID matches the generic environment
ID input as the envID parameter. Must be preceded by
item 26.
36. local node
ARPA domain
name length 16-bit integer. The length, in bytes, of the local node’s
ARPA domain name. This item is independent of the
environment specified by envID or envnum. It must
precede item 37. The NS transport must have been
started for this to succeed.
37. local node
ARPA domain
name 255-byte character array. The name of the local
node’s ARPA domain name. The NS transport must
have been started for this to succeed.
38. IP address 32-bit integer. The IP address (4 bytes) of the node in
the given environment. Currently, this option works
only for $BACK environments. The value zero will be
returned for all other environments.