For the monitor, the user must define two actions for output spooled files. Each
action refers to one of the print definitions. At run time, the print engine runs both
print definitions with a different Output Queue for each.
Notes
1. Action for the application spooled files in OUTQ1. An additional output action
sequence is added.
2. A second print definition is applied with a differentoutput queue.
3. Action for all other application spooled files in all monitored OUTQs.
4. An additional output section sequence is added. Asecond print definition is
applied with a different output queue.
5. Action for all other spooled files in OUTQ1.
6. Action for all other spooled files in all other OUTQs.
7. If an empty or not correct output action is provided, the action for the Input
SCS spooled file follows the failed procedure.
The next figure shows how the actions are executed from the monitor.Due to the
conditional processing of the print definition, the application spooled file has been
split into a local and remote output queue (designated as “Paris” in Figure106 on
page94). The white spooled file represents that only the location dependent data is
present.
5
Input
selection Input
action Output
action1/2 Output
action2/2
1.Action for
spool File= APP*
OUTQ= Outq1 Success= *outq
OUTQ = SAV E
Failure= *hold
Prtdef= Sample
OUTQ=PRT0 1 Prtdef=Sample2
OUTQ=
2.Action for
spool File= APP*
OUTQ= *all Success= *outq
OUTQ = SAV E
Failure= *hold
Prtdef= Sample
OUTQ= PRT0 2 Prtdef= Sample2
OUTQ=
3.Action for
spool File= *all
OUTQ= Outq1 Success= *outq
OUTQ = PRT01
Failure= *hold
Prtdef= *none
4.Action for
spool File= *all
OUTQ= *all Success= *outq
OUTQ = PRT02
Failure= *hold
Prtdef= *none
Action
3
2
1
4
5
6
Paris
Paris
Figure 105.Action Example for Two Locations
Chapter6. Automatic Printing with APU Monitor 93