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

Chapter 5 165
User Intrinsics
NRJE2Submit
NRJE2Submit
Creates a job input stream on the transmission queue to send to a host
system, and allows the user to specify output destinations for data sets
returning from the job submitted to the host. If you are connected to a
VSE/POWER host system, the output routing capabilities are not
available.
Syntax
BA I BA IA IA BA
NRJE2Submit (
Wsid
,
NumFiles
,
FileList
,
FileLens
,
SubCode
,
Name
,
I I BA BA BA I IA I
Pri
,
Direct
,
PR
,
PU
,
FO
,
MaxJobs
,
SpoolList
,
NumJobs
,
IA
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.
NumFiles
An integer input variable, from 1 through 40
(required). The
NumFiles
parameter indicates the
following:
The number of file names that are in
FileList
.
The number of elements in
FileLens
.
The number of elements in
SubCode
.
FileList
An input byte array (required). The
FileList
array contains actual file designators, formal file
designators, or file references for each file, in sequence,
that goes into your job stream. The contents of the files
named in
FileList
are broken into spool files, with
one host job per spool file.
The format of the
FileList
is a continuous string of
actual or formal file designators without any delimiters
between entries; the length of each substring is in the
FileLens
array.
The file designators $NULL, $STDLIST, and $NEWPASS
are not allowed in the
FileList
.