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

Chapter 5 153
User Intrinsics
NRJEJobInfo
Always test the first element of
Result
immediately
after you call this intrinsic. If the first element of
Result
is not zero, test the other elements of
Result
to
determine the nature of the problem that has occurred.
Description
Use NRJEJobInfo to obtain information about jobs that have been
submitted, but are not yet transmitted. Input information to this
intrinsic is as follows:
Workstation identification:
Wsid
.
Maximum number of elements to be returned in all output arrays
except
Result
:
InCount
.
Job set desired:
Name
and
NameLen
. The structure and contents of
Name
determines the job set desired. Refer to Table 5-3.
Output from NRJEJobInfo consists of the following:
The number of jobs qualified by
Name
:
OutCount
.
An entry in each of the output arrays, except
Result
, describing
spool file characteristics
After NRJEJobInfo has returned control to your program, test the
first element of
Result
.
Text Reference
This intrinsic provides information for the SHOW command. See Chapter
3 , “User Commands.