SNA NRJE User/Programmer Reference Manual (30292-90006)

146 Chapter5
User Intrinsics
NRJEHJInfo
•A
UserName.AcctName
. You must have NM
capability to specify jobs submitted by other users.
UserNameLen
An input integer variable (required if
UserName
is
supplied). The
UserNameLen
parameter specifies the
number of bytes in
UserName
, from 0 through 17.
JobList
An input byte array (required if
UserName
and
UserNameLen
are not supplied. If
JobList
and
JobListLen
are supplied, then
UserName
and
UserNameLen
are not required parameters and are
ignored).
The
JobList
array is a list of host job names, host job
numbers, and/or SpoolfileIds.
Names are those on the host JCL JOB card. By
using job names, you obtain information for all jobs
with this name under your own logon
UserName.AcctName
, or for all users if you have NM
capability.
Numbers are those assigned by the host system.
When using job numbers, you must have NM
capability to show jobs submitted by another user.
The SpoolfileId is assigned by the spooler after a job
is successfully submitted. When used in the Joblist
array, the SpoolfileIds must be entered starting with
the character “^” followed by up to seven digits.
Each entry is eight characters long, left-justified, and
blank-filled. Following is an example of a
JobList
with
four entries:
DS1
1099
^59422
FIRSTONE
JobListLen
An input integer variable (required if
JobList
is
supplied). The
JobListLen
parameter specifies the
number of entries in the
JobList
.
Outcount
An output integer variable (required). The
Outcount
parameter contains the actual number of
elements in each of the output arrays, except for
Result
.
JobNum
An output integer array (required). The
JobNum
array is a list of host job numbers of all submitted jobs
that meet the specification in
UserName
and
JobList
.
JobName
An output byte array (required). The
JobName
array is a list of host job names of all submitted jobs