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

Chapter 6 187
NRJE Manager Intrinsics
NRJELUStatus
NRJELUStatus
Reports the status and state of an LU session of a given LU name.
Syntax
BA BA IA IA
NRJELUStatus (
Wsid
,
LUName
,
InfoArray
,
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.
LUName
An input byte array. In MPE V, this refers to an LU
class name configured in the MPE V Configuration:
Classes screen. For MPE XL, this is the host name (not
the NAU) of an LU. An
LUName
begins with a letter and
may be up to eight alphanumeric characters long. If an
LUName
is less than eight characters, it must be filled
with trailing blanks.
InfoArray
An output integer array. For each LU session, the
InfoArray
contains status and state information such
as termination reason, session status, session state,
and LU state. The structure of this array is given in the
description below.
Result
An eight-element integer output array (required).
The
Result
array contains error codes that occurred
during execution of this intrinsic.
The first element of the
Result
array is set to zero if no
errors took place. The structure of the
Result
array is
described in “Parameters Common to NRJE Intrinsics”
in the introduction to Chapter 5 , “User Intrinsics.
Always test the first element of
Result
immediately
after you call this intrinsic. If the first element of
Result
is not zero, test the other elements of
Result
to
determine the nature of the problem that has occurred.