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

98 Chapter3
User Commands
SUBMIT
CAUTION
Do not direct multiple output data sets of different types (that is,
PRINT, PUNCH, or FORMS) to the same disk file; for example,
SUBMIT myjob;PR=myfile;FO=myfile
This causes data to be overwritten in the file myfile.
Example
:FILE OUTLIST;DEV=PP;ENV=LP2.HPENV.SYS
:NRJE R20
product number version number
NRJE (C) HEWLETT-PACKARD CO.
copyright year
WELCOME TO NRJE
R20>SUBMIT myjob;pr=*outlist;fo='long';prio=9
JOB SUCCESSFULLY SUBMITTED. THE SPOOL FILE IS:
#O86
R20>...
This example causes a copy of the file myjob to be placed in the NRJE
reader queue with a transmission priority of 9. If the link to the host
system is up, myjob is transmitted when it is the first in the queue.
Successful submittal is indicated by a message also identifying the
spool file.
Output data sets directed by your JCL to the host standard form on a
logical printer device are routed according to the attributes in the file
equation FILE outlist ... (determined by the
pr=*outlist
parameter).
Output data sets directed by your JCL to any special form on a
printer or punch logical device are routed according to the attributes in
the Lookup Table under the entry long.
Example
R20>SUBMIT FRONTJCL,BINDATA(NOTRANSLATE),BACKJCL
JOB SUCCESSFULLY SUBMITTED. THE SPOOL FILE IS:
#O95
R20>SUBMIT NEWJOB(N)
JOB SUCCESSFULLY SUBMITTED. THE SPOOL FILE IS:
#096
R20>...
The examples demonstrate how to submit binary data to a host. In the
first example, three
Infiles
are concatenated to one job file. The file
FRONTJCL begins the job stream, followed by file BINDATA and then
BACKJCL.