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

Chapter 6 191
NRJE Manager Intrinsics
NRJERcvMsg
Description
Call NRJERcvMsg to read one recent host console message. Obtain the
ConsoleId
by calling NRJEConsole first. Indicate the maximum byte
length of the
OutBuffer
array in the
MaxOutBuf
parameter. Obtain the
actual message length from the
OutputLength
parameter.
While you own the host remote console, you receive all recent host remote
console messages that are directed to your workstation. These messages
may be in response to commands other than those you issued.
Messages will return in the order they are received from the time that
the user opens the console.
Use NRJERcvMsg with the following intrinsics:
NRJEConsCheck: to determine whether any outstanding console
messages are waiting to be received.
NRJERelease: to relinquish ownership of the host remote console.
After NRJERcvMsg returns control to your program, test the first
element of
Result
.
Text Reference
See the SNA NRJE Node Manager’s Guide for a description of
“Host Console Commands.