HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Components and Operation
Processing Output Data
Chapter 350
These five parameters make up the DSNAME
parameter used by the host to identify the job. Many
host systems use only JOBNAME and do not include
the remaining parameters.
REQID
PDIR request identifier. This takes one of the following
values:
0 - Standard PDIR
1 - Job separator PDIR
2 - System message PDIR
The REQID parameter is not passed to output programs, but is available
in the temporary PDIR file accessible by output programs.
When PDIR information is retained for use in processing output, it is
stored in files with a fixed format. An example of a PDIR file is shown
below.
Figure 3-2
The first and last lines of the file are OPEN and CLOSE. The RJE device
name follows OPEN. The RJE device name is a combination of the
workstation name and the device identifier (PRT
n
for printer number
n
).
CLOSE indicates the end of the data.
Other lines of the PDIR file are followed by a list of the PDIR parameters
as described above. If the host leaves any of the PDIR parameters blank,
SNAplus2 RJE inserts the string “None”.
The first column of the PDIR file indicates the byte offset into the output
data at which the information was received. OPEN and the first PDIR
will be at offset 0, and CLOSE will be at the offset representing the end
of the file.
Routing Output
Output for a printer or punch can be routed in the following ways:
OPEN WKSTPRT1
PDIR 11/14/91 18.28.46 STD STD6 QN 0 30 NEWJOB1 None None None None 0
1054 PDIR 11/14/91 18.28.46 STD STD6 QN 0 50 NEWJOB1 None None None None 1
2835 CLOSE