vTransform the input database file to an AFP database file, using specified APU print definition

vWrite the output AFP database file to the specified output queue

vCall the ªafterº user program

The Define Action for Output Spooled File display, consisting of two displays for each action group, provide for configuring the processing options. These options include the APU print definition, the user exit programs, the run option, and the output file options. Using multiple action groups, you can apply multiple APU print definitions to the same input spooled file, invoke user programs for unique processing, and define multiple, different output actions.

If you select Define action for input spooled file, the following panel displays:

 

Define Action for Input Spooled File

Sequence

:

10

Text

:

QSYSPRT spool in OUTQ1

Type choices for input spooled file after successful or failed processing respectively, press Enter.

Success

*OUTQ

*NONE, *HOLD, *DELETE, *OUTQ

Output queue . . . .

OUT1

Name

Library

*LIBL

Name, *LIBL

Failure

*HOLD

*NONE, *HOLD, *DELETE, *OUTQ

Output queue . . . .

 

Name

Library

 

Name, *LIBL

Figure 104. Define Action for Input Spooled File panel

APU will move the input spooled file to the output queue defined in the Success or Failure fields, depending on the result, and will place the file in one of the four status conditions shown above. *HOLD is the default for both failure and success.

Defining Action for Output Spooled File

The third thing a user can do in configuring APU monitor action is to define action for output spooled file. This is probably the most complicated portion. The user can enter information on two panels (which make up an action group) by describing tasks the print engine performs. The user can scroll through (or set up) a total of 16 separate actions groups to be performed. This makes it possible to process several print definitions against one SCS spooled file.

Before describing in detail the various parameters that could be set for this step, an extended example may help to clarify the concepts.

An Example of this Processing Step

Imagine that you print at two different locations. You want to identify which invoice is for the local system and which one is for the second location. This is possible with the conditional option in the print definition. You must define two different print definitions. Each uses conditional processing to select which invoice will be in the new spooled file. (Each print definition produces one spooled file.)

92APU User's Guide

Page 104
Image 104
IBM S544-5351-03 manual Defining Action for Output Spooled File, An Example of this Processing Step, Outq, OUT1, Hold