Using NS3000/iX Network Services (36920-90008)

Chapter 6 117
Intrinsics for Node and Environment Status
NSSTATUS Intrinsic
itemnum i
(Input) 16-bit integer, by value. Item number identifying the
item of data to be retrieved.
item i (Output) Data type varies. By reference. Array in which data
identified by itemnum i will be returned. Required
parameter if itemnum i present.
Itemnum/item parameters must appear in pairs. Up to
five items of information can be retrieved by specifying
one or more itemnum/item pairs.
Data Items
1. service list 2000-byte character array (output). List of all
services installed on indicated node. Format for the list
is given in the data structure shown in Figure 6-2. NM
capability is not required.
Service List Fields
Number of
Services The number of Service List Entries
included.
Service List
Entry One for each configured server. Format
for the list entry is given in the data
structure shown in Figure 6-3.
Service List Entries
Service Name The name of the service; a port name
for a local service or a socket name for a
remote service.
Server Type
Name The name of the server created for
service requests to this service
ST If 0, the service has not been started. If
1, the service has been started.
RM If 0, the service is local. If 1, the service
is remote.