CONTROLLING THE OUTPUT OF A
BAC~ROUND
JOB
You can use the OUTPUT command to:
• Direct the JCL statements and system messages (MSGCLASS) and system
output data sets (SYSOUT) produced by a background job to your
terminal.
• Direct the MSGCLASS and SYSOUT output from ·a background job to a
specific data set.
• Change an output class used in a background job.
• Delete the output data sets (SYSOUT) or the system messages
(MSGCLASS) for background jobs.
Unless you use the NONOTIFY operand of the SUBMIT command, a message is
written to your terminal or placed in the broadcast data set when the
background job terminates.
You can then use the OUTPUT command to
control the output produced ny the job on the MSGCLASS and SYSOUT
classes before the system processes them.
For example·, assume that job GREEN67 produces output on classes A, B,
D, G, and M.
If you want the output on classes G and M listed at the
terminal, enter:
READY
output
green67
class(g m)
print(*)
If you want the output of class B to be listed in the GREEN.KEEP.OUTLIST
data set, enter:
READY
output
green67
class(b)
print (keep)
If you want to change the output in class A to class C, enter:
READY
output
green67
class (a)
noprint(c)
If you want to delete the output from class D, enter:
READY
output
green67
class (d)
noprint
If you wish, you can enter the PAUSE operand in the OUTPUT comroand.
PAUSE will make the system stop after each data set is listed on your
terminal or on the data set you indicate with the PRINT operand.
When
the system pauses it sends you the message OUTPUT.
You then have the
option of pressing the RETURN key to continue processing or entering the
CONTINUE or SA V£ subcommand.
The CONTINUE subcommand allows you to continue processing your output
after an interruption occurs.
An interruption occurs when:
• An output operation completes and you used the PAUSE operand in the
OUTPUT command.
• An output operation terminates because of an error condition •
• You press the attention key.
76
TSO Terminal User's Guide
(Release 21.7)