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

Chapter 5 161
User Intrinsics
NRJESubmit
NRJESubmit
Prepares a batch input job stream for transmission to a host system.
NOTE
The NRJESubmit intrinsic is documented to provide backward
compatibility with releases of the SNA NRJE product prior to version
A.52.00. Use of the NRJE2Submit intrinsic, available on version A.52.00
or later, is the preferred method because of the enhanced capabilities
available with that intrinsic.
Syntax
BA I BA IA IA BA I
NRJESubmit (
Wsid
,
NumFiles
,
FileList
,
FileLens
,
SubCode
,
Name
,
Pri
,
I D IA
Direct
,
SpoolNumber
,
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 or formal file designators 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 designators without any delimiters
between entries. Instead of using delimiters between
substrings, the length of each substring is in the
FileLens
array. The file designators $NULL, $STDLIST,
and $NEWPASS are not allowed in the
FileList
.
You must provide sufficient elements for this array. The
maximum length for this array is 3440 bytes (40 files *