SNA NRJE User/Programmer Reference Manual (30292-90006)
172 Chapter5
User Intrinsics
NRJEWriter
NRJEWriter
Obtains information about the logical writers configured for a
workstation.
Syntax
BA I I BA BA IA
NRJEWriter (
Wsid
,
InCount
,
OutCount
,
WriterLis
t,
LdevList
,
PrList
,
IA BA BA IA IA
TransList
,
Reserved
,
Reserved
,
Forced
,
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.
InCount
An integer input variable. The
InCount
parameter
specifies the maximum number of elements to be
returned in all of this intrinsic’s output arrays except
Result
.
The maximum value you can specify for
InCount
is 14.
This is because no more than seven printer writers and
seven punch writers can be configured for a
workstation. This is a host restriction.
OutCount
An integer output variable. The
OutCount
parameter identifies the actual number of elements
returned in all of this intrinsic’s output arrays except
Result
.
WriterList
An output byte array. The
WriterList
array is a
list of logical writer names configured for your
workstation, such as
PRn
and
PUn
, where
n
is from 1
through 7.
Each entry is eight characters long, left-justified, and
filled with trailing blanks. Following is a typical set of
three
WriterList
entries:
PR1
PR2
PU1
LdevList
An output byte array. The
LdevList
array is a list of
output designators that correspond to the names of
logical writers in
WriterList
. These may be an
ldev
,