SNA NRJE User/Programmer Reference Manual (30292-90006)
204 Chapter6
NRJE Manager Intrinsics
NRJEStopWS
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.
Description
This intrinsic provides an orderly or an immediate way to stop selected
LU-LU sessions or all active LU-LU sessions. Specify the number of
LUs to be stopped in
NumLUs
. Specify each LU name to be stopped as an
entry in
LUNames
. After
NRJEStopWS
returns control to your program,
test the first element of
Result
.
Text Reference
The NRJE manager commands STOPWS and HALT stop a workstation.
See the SNA NRJE Node Manager’s Guide for more information on
these commands.
The MPE commands to stop a workstation are NRJECONTROL HALT< and
NRJECONTROL STOP. See the SNA NRJE Node Manager’s Guide and the
SNA Link Services Reference Manual or the SNA Link/XL Node
Manager’s Guide.