SNA NRJE User/Programmer Reference Manual (30292-90006)
Chapter 6 203
NRJE Manager Intrinsics
NRJEStopWS
NRJEStopWS
Stops or halts LU-LU session or workstation.
Syntax
BA I BA I IA
NRJEStopWS (
Wsid
,
NumLUs
,
LUNames
,
StopCode
,
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.
NumLUs
An input integer. The
NumLUs
parameter specifies
the number of entries in
LUNames
, from 0 through 16.
The value of
NumLUs
for the
LUNames
example below
is 4.
If the value of
NumLUs
is 0, the action indicated by
StopCode
applies to all active LUs.
LUNames
An input byte array. The
LUNames
array is a list of
eight-character logical unit (LU) names. In MPE V,
these are LU class names as configured in the SNA
Configuration: Classes screen. In MPE XL, these are
host names (not NAUs) of LUs that you wish to stop.
See “Glossary” for the definition of an LU.
Each entry is eight alphanumeric characters long,
begins with a letter, and is left-justified and
blank-filled. The number of entries is specified in
NumLUs
.
Following is an example of an
LUNames
array of four
entries:
FIRSTLU
NEXTUNIT
NTHLU
LASTUNIT
StopCode
An input integer. The
StopCode
indicates how the
LU-LU sessions indicated in
LUNames
are to stop.
Value can be one of the following:
• 0 = Stop the sessions in an orderly manner.
• 1 = Halt the sessions immediately.