HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Components and Operation
Processing Output Data
Chapter 352
output will be sent to the same file. The configuration
specifies whether it will overwrite the existing contents
of the file or be appended to it.
If the data is replacing the contents of an existing file,
and an error occurs while the data is being received,
the file will be deleted unless the keep_failed_files
minor option is set. If keep_failed_files is set, that
data will be saved in a temporary file.
If the data is being appended to the end of an existing
file, SNAplus2 RJE writes to a temporary file until all
the data has been received or until an error occurs. The
temporary file is named TMP_
abcdef
, where
abcdef
represents a string of six alphabetic digits. The file is
created in the /var/opt/sna/
WKST
/output directory .
If all the data is received successfully, SNAplus2 RJE
then appends it to the existing file and removes the
temporary file. If an error occurs, the incomplete data
is left in the temporary file, and the existing file is not
changed. An error log message will indicate the name
of the file.
If you specify the pdir_passthrough option, PDIR
information is written to a file that has the same name
as the output file but with extension .i. This PDIR file
is replaced or appended in the same way as the output
file. The format of the PDIR file is as described in the
previous section except when output is being appended
and an error occurs. Then the temporary PDIR will
contain the line CLOSE ERROR instead of CLOSE.
usr card
If you want to include a usr card when you have your
output routed, you need to configure usr card routing
for each output device. You can route the output by
sending it to either the /opt/sna/bin/rjeusr
program or the /opt/sna/bin/rjeusrpad program.
The rjeusr program routes output according to a usr
card specification. If no usr card is present in a job,
rjeusr leaves the output in
/var/opt/sna/bin/WKST/output and renames the
output file PRTnnnn (for printer files), PUNnnnn (for