SNA NRJE User/Programmer Reference Manual (30292-90006)
Chapter 5 145
User Intrinsics
NRJEHJInfo
NRJEHJInfo
Obtains a list of jobs transmitted to the host, the number of data sets
received against those jobs, and the special destinations of those data
sets. This intrinsic does not apply if you are connected to a
VSE/POWER host system.
Syntax
BA I I BA I BA
NRJEHJInfo (
Wsid
,
StartPos
,
Incount
,
UserName
,
UserNameLen
,
JobList
,
I I IA BA BA IA
JobListLen
,
Outcount
,
JobNum
,
JobName
,
User
,
XmitRcv
,
LA BA BA BA IA
Time
,
PR
,
PU
,
FO
,
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.
StartPos
An input integer variable (required). This
parameter allows the user to fill the output arrays
beginning with the
StartPos
— the matched item
from the Job Log. In this way, smaller output arrays
can be used with repeated calls to NRJEHJInfo to show
all the jobs transmitted to the host. Set
StartPos
to 1
(not 0) to return the first
Incount
or
Outcount
number of matched jobs, whichever is less.
Incount
An input integer variable (required). The
Incount
parameter specifies the maximum number of elements
to be returned in each output array parameter except
Result
.
UserName
An input byte array (required if
JobList
and
JobListLen
are not supplied. If both
UserName
and
JobList
are supplied, only
JobList
is used to match
host jobs). The
UserName
parameter specifies the kind
of job information you want. A
Username
can be one of
the following:
•An@ character. If you have NM capability, this
means all jobs of all users. Otherwise, it means all
jobs of the logon
UserName.AcctName
.