SNA NRJE User/Programmer Reference Manual (30292-90006)

Chapter 5 155
User Intrinsics
NRJELUList
NRJELUList
Provides a list of all LUs and related characteristics for a workstation.
Syntax
BA I I BA IA
NRJELUList (
Wsid
,
MaxEntries
,
ReturnEntries
,
LUList
,
ChainSizeList
,
DA DA IA
MinJobSizeList
,
MaxJobSizeList
,
ActiveLuNameList
IA IA
AutoStartList
,
Result
Parameters
Wsid
An eight-character input byte array. The
Wsid
parameter identifies your workstation. It must contain
a left-justified alphanumeric name beginning with a
letter. If the workstation identifier is less than eight
characters long, it must be followed by blanks.
MaxEntries
An input integer. The
MaxEntries
parameter
contains the maximum number of entries expected in
all output array parameters except
Result
. The
MaxEntries
parameter value should be the number of
LUs configured for the workstation, from 1 through 16.
Make sure that the available length of each of the
output array parameters (
LUList
,
ChainSizeList
,
MinJobSizeList
,
MaxJobSizeList
,
ActiveLUNumList
,
and
AutoStartList
) is sufficient for the expected
number of entries.
ReturnEntries
An output integer. The
ReturnEntries
parameter
normally contains the actual number of entries in all
output array parameters except
Result
.
After calling NRJELUList,
ReturnEntries
can contain
the required number of entries for
LUList
,
ChainSizeList
,
MinJobSizeList
,
MaxJobSizeList
,
ActiveLUNumList
, and
AutoStartList
. This occurs
only when the first word of
Result
is 137, which means
that
MaxEntries
was too small.