Production jobs with OUTPUT commands
Production jobs honor OUTPUT
commands,
such as OUTPUT SAVE
, OUTPUT ACTIVATE
, and OUTPUT
NEW
. OUTPUT SAVE
commands
executed during the course of a production job will write the contents
of the specified output documents to the specified locations. This
is in addition to the output file created by the production job. When
using OUTPUT NEW
to create a
new output document, it is recommended that you explicitly save it
with the OUTPUT SAVE
command.
A production job output file consists of the contents
of the active output document as of the end of the job. For jobs containing OUTPUT
commands, the output file may not
contain all output created in the session. For example, suppose the
production job consists of a number of procedures followed by an OUTPUT NEW
command, followed by more procedures
but no more OUTPUT
commands.
The OUTPUT NEW
command defines
a new active output document. At the end of the production job, it
will contain output from only the procedures executed after the OUTPUT NEW
command.