HPlogo SNA NRJE User/Programmer Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 6 NRJE Manager Intrinsics

NRJERdrAccess

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

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 “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

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.

Feedback to webmaster