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

NRJERdrFence

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Updates the outfence value of the NRJE workstation reader.

Syntax

                 BA        I         IA     
 NRJERdrFence ( Wsid, NewOutFence, 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.

NewOutFence

An input integer. The NewOutFence parameter is the output fence for the workstation reader, from 0 through 14.

Any spooled file whose priority is equal to or greater than the value of NewOutFence is transmitted when the workstation is in communication with the host.

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

Use the NRJERdrFence intrinsic to update the output fence value of the reader transmission queue by using the NewOutFence parameter. Call NRJEQueue to obtain the current output fence value.

When control is returned to your program, test the first element of Result.

Text Reference

The RDRFENCE command also updates the outfence value of the NRJE workstation reader. See the SNA NRJE Node Manager's Guide for a discussion of the command, spool files, and output priorities.

Feedback to webmaster