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

152 Chapter5
User Intrinsics
NRJEJobInfo
Each entry in
Rank
corresponds to an entry in
FileId
.
Time
An output logical array. The
Time
array is a list of
four-word entries describing when a spool file was
created.
Each entry in
Time
corresponds to an entry in
FileId
.
The structure of each four-word entry is as follows:
year
day of the year
hour
minute
where
day of the year
is from 1 through 366.
State
An output integer array. The
State
array is a list of
the spooling states of each file.
Each entry in
State
corresponds to an entry in
FileId
.
The values returned in
State[i]
are as follows:
MPE V and MPE XL prior to release 2.1
0 =
FileId[i]
is
active
.
1 =
FileId[i]
is
ready
.
2 =
FileId[i]
is
opened
.
3 =
FileId[i]
is
locked
.
MPE XL release 2.1 and later
0 =
FileId[i]
is
active
.
1 =
FileId[i]
is
ready
.
2 =
FileId[i]
is
opened
.
3 =
FileId[i]
is
deferred
.
4 =
FileId[i]
is
created
.
5 =
FileId[i]
is being
transferred
.
6 =
FileId[i]
is being
printed
.
7 =
FileId[i]
has a
problem
.
8 =
FileId[i]
is
delete pending
.
9 =
FileId[i]
has
SPSAVE
specified.
Refer to MPE V/E System Operation and Resource
Management Reference Manual or the MPE XL Native
Mode Spooler Reference Manual for an additional
discussion of spooling states.
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 this chapter.