SNA NRJE User/Programmer Reference Manual (30292-90006)
164 Chapter5
User Intrinsics
NRJESubmit
This intrinsic does not transmit your job to the host. Job transmission
takes place after communication is established with the host. See
NRJECONTROL START in the SNA NRJE Node Manager’s Guide.
Use the
Wsid
parameter to identify your workstation. The
NumFiles
parameter must specify the number of files that comprise your job input
stream. The
FileList
,
FileLens
, and
SubCode
parameter arrays
contain an entry for each file that goes into the job stream.
You can affect a job stream file you create with
NRJESubmit
parameters
in these ways:
• Identify your job stream with the
Name
parameter. Use
Name
later to
retrieve information about your job stream. If you don’t specify a
Name
, the host job name as detected by NRJE2Submit is used.
• Specify your job priority in the
Pri
parameter. The higher the
Pri
,
the more urgent your job stream. When you use
Pri
=0 you are
specifying the NRJE configuration default for the workstation.
• Use
Direct
and the
SubCode
array together to specify (1) when
translation and compression are to take place: either (a) during
transmission of the job stream spool file to the host, or (b) during job
stream creation, when each of your files is copied to the spool file;
and (2) what type of translation and compression are to take place.
For example, you would omit translating a file that contains packed
decimal data. Specify that the file has already been translated by
setting its
SubCode[i]
=2, and setting
Direct
=0.
Test
Result
to learn the effects of your call to this intrinsic.
Retain the contents of
SpoolNumber
for use as an input parameter in
other intrinsics, such as NRJEJobInfo.
Text Reference
See the SUBMIT command in Chapter 3 , “User Commands.”
Table 5-4 SubCode — Direct Relationship
Direct=0 Direct=1
SubCode[i]=0 Translation and compression
take place when
FileList[i]
is submitted.
Notranslation and compression
take place when
FileList[i]
is
submitted. Translation and
compression take place when a
job stream is transmitted.
SubCode[i]=2 Compression takes place
when
FileList[i]
is
submitted.
This combination is illegal for
any
FileList
entry.