SNA NRJE User/Programmer Reference Manual (30292-90006)
150 Chapter5
User Intrinsics
NRJEJobInfo
NRJEJobInfo
Obtains a list of jobs submitted, but not transmitted to the host, and job
spool file characteristics.
Syntax
BA I BA I I IA BA
NRJEJobInfo (
Wsid
,
InCount
,
Name
,
NameLen
,
OutCount
,
FileId
,
User
,
BA DA IA IA LA IA IA
JobName
,
JobSize
,
Priority
,
Rank
,
Time
,
State
,
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 input integer variable. The
InCount
parameter
specifies the maximum number of elements (from 1
through 53) to be returned in all output array
parameters except
Result
.
Name
An input byte array. The
Name
parameter specifies
the kind of job information you want.
A
Name
can be any of the following:
• A file ID
• A job name
•An@ character
•A
UserName.AcctName
Table 5-3, following this intrinsic’s description,
describes the various ways Name can be used.
NameLen
An input integer variable. The
NameLen
parameter
specifies the number of bytes in
Name
, from 1 through
17.
OutCount
An output integer variable. The
OutCount
parameter contains the actual number of elements in
all of the output arrays except
Result
.
The maximum value for
OutCount
is 100.