SNA NRJE User/Programmer Reference Manual (30292-90006)
Chapter 4 117
Job Output
Job and Output Management
Job and Output Management
Job management is the ability to specify the final destination of the
output at the time the job is submitted to NRJE to be transmitted to the
host. NRJE accomplishes this through parameters included in the
SUBMIT command which can directly or indirectly identify a final
destination.
Output management is the ability to route output by specifying
special forms for output data sets using file equation records in a lookup
table. The Lookup Table is configured as part of SNA NRJE and keyed
into through special form names specified in the job. The Lookup Table
maps these special form names to file equations defining final
destinations for the output.
The flow of data through these procedures is described next.
Job Output Data Flow Description
You submit a job within the SNA NRJE subsystem by using the SUBMIT
command. As part of that command you may optionally specify PRINT,
PUNCH, or FORMS output designations. PRINT and PUNCH designations
provide control of output that is routed from the host to printer or
punch devices, using the default or standard form name. These
designations override JCL specifications for standard output.
FORMS designations provide control of output that is routed from the
host to printer or punch devices, using any form name other than the
default.
This SUBMIT command information is placed into a specially formatted
Job Log record and is written to the NRJE reader along with your file.
These parameters are defined in the SUBMIT command discussion in
Chapter 3 , “User Commands.”.
When your workstation is active, the NRJE Logical Unit scans the
NRJE reader for ready spool files. When the LU finds one, it copies the
spool file to the host and waits for information containing the job’s
unique job number from the host. With JES2 and JES3 host job entry
subsystems, the unique job number is supplied as part of a “Job
Received” message that is returned when the host receives a job. The
job number, along with other information in the formatted Job Log
record, is written to a Job Log file that you configure for your NRJE
workstation.
When an output data set is received from a JES2 host, the NRJE LU
attempts to obtain the job number by scanning the output banner. For
JES3, the job number is returned in the PDIR. When NRJE finds the
job number, it checks the Job Log for routing information for the job,
and updates a count of the number of data sets received for the job. If