NRJERdrAccess [ SNA NRJE User/Programmer Reference Manual ] MPE/iX 5.0 Documentation
SNA NRJE User/Programmer Reference Manual
NRJERdrAccess
Enables or disables NRJE user access to the NRJE reader.
Syntax
_____________________________________________
| |
| BA I IA |
| NRJERdrAccess ( Wsid, OpCode, 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.
OpCode An input integer. The OpCode parameter indicates the function to be
performed. Its values are as follows:
* 1 = Enable NRJE user access to the NRJE reader.
* 0 = Disable NRJE user access to the NRJE reader.
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.
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
Call NRJERdrAccess to enable or disable NRJE user access to the NRJE
reader. After NRJERdrAccess returns control to your program, test the
first element of Result.
Text Reference
Two commands correspond to this intrinsic: RDRUP and RDRDOWN. See the
SNA NRJE Node Manager's Guide for more information on these commands.
MPE/iX 5.0 Documentation