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.

Action

Input

Input

Output

Output

selection

action

action 1/2

action 2/2

 

 

 

 

 

 

 

 

 

 

 

1. Action for

 

File = APP*

Success = *outq

Prtdef = Sample

Prtdef =Sample2

spool

 

 

 

OUTQ = Outq1

OUTQ = SAVE

OUTQ= PRT01

OUTQ =Paris

3

 

 

 

 

 

Failure = *hold

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. Action for

 

File = APP*

Success = *outq

Prtdef = Sample

Prtdef = Sample2

spool

 

 

 

OUTQ = *all

OUTQ = SAVE

OUTQ = PRT02

OUTQ= Paris

4

 

 

 

 

 

Failure = *hold

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3. Action for

 

File = *all

Success = *outq

Prtdef = *none

 

 

 

 

spool

 

OUTQ = Outq1

OUTQ = PRT01

 

 

 

 

 

 

1

 

 

 

Failure = *hold

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4. Action for

 

File = *all

Success = *outq

Prtdef = *none

 

 

 

 

spool

 

 

 

OUTQ = *all

OUTQ = PRT02

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

Failure = *hold

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 105. Action Example for Two Locations

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 different output queue.

3.Action for all other application spooled files in all monitored OUTQs.

4.An additional output section sequence is added. A second 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 Figure 106 on page 94). The white spooled file represents that only the location dependent data is present.

Chapter 6. Automatic Printing with APU Monitor 93

Page 105
Image 105
IBM S544-5351-03 manual Action