Working with Periodic Processes (WPPR)

Periodic processes are jobs consisting of one or more periodic functions that run on a daily, weekly, monthly or yearly basis.

See Periodic Functions for examples of functions to assign to your daily, weekly, monthly and yearly processing. You can also create a periodic process consisting of user-defined commands or programs, such as defining a group of iSeries commands as a periodic process.

Note: Periodic functions and processes are not restricted by company; when you create a periodic function or process, it is defined across all companies.

In this topic:

Work with Periodic Processes Screen

Create Periodic Process Screen

Work with Process Assignments Screen (Assigning Functions to a Periodic Process)

Change Periodic Process Screen

Display Periodic Process Screen

For more information: You can execute a periodic process or display its history from the Work with Periodic Process screen or through separate menu options. See Executing Periodic Processes (EPRO), for information on running a periodic process and Working with Periodic Process History (WPHS), for information on displaying the past records of a periodic process.

Work with Periodic Processes Screen

How to display this screen: Enter WPPR in the Fast path field at the top of any menu, or select Work with Periodic Process from a menu.

MSR0175 DISPLAY Work with Periodic Process 7/12/96 8:37:32

Appl Sys

Opt Process Description Area Type Opt

Type options, press Enter.

2=Change 4=Delete 5=Display 7=Functions 9=Execute 13=History

AGECBT AGE CUSTOMER BILL TO A/R UD N

APLEDGER A/P LEDGER A/P UD N

APME AP MONTH END A/P UM N

APMONTH A/P MONTH END A/P UM N

ARAGING A/R AGING A/R UD N

BUSINESS DAILY BUSINESS STATUS REPORT ALL UD N

CLRDAY DAILY CLEAR PROCESS ALL UD N

CLRMONTH MONTHLY CLEAR PROCESS ALL UM N

CLRWEEK WEEKLY CLEAR PROCESS ALL UW N

CLRYEAR YEARLY CLEAR PROCESS ALL UA N +

F3=Exit F6=Create F12=Cancel F21=Print List

Field

Description

Process

The name of the periodic process.

Alphanumeric, 10 positions; optional.

Description

The description of the periodic process.

Alphanumeric, 30 positions; optional.

Appl Area (Application area)

The area of CWDirect (for example, Order Entry) where this process belongs.

Alphanumeric, 3 positions; optional.

Type description (Periodic process type list)

This value indicates the time period of the periodic process. Processes run on a daily, weekly, monthly or yearly basis. Valid values are:

OA = O/E annually

OD = O/E daily

OM = O/E monthly

OW = O/E weekly,

PA = P/O annually

PD = P/O daily

PM = P/O monthly

PW = P/O weekly

 

SA = System annually

SD = System daily

SM = System monthly

SW = System weekly,

UA = Annually

UD = Daily

UM = Monthly

UW = Weekly

Alphanumeric, 2 positions; optional.

Sys opt (System operation)

This value indicates whether the periodic process is a system-level process that cannot be changed or deleted. Valid values are:

Y = this is a system-level process

N = this is not a system-level process

Alphanumeric, 1 position; optional.

Screen Option

Procedure

Change a periodic process

Enter 2 next to the process to advance to the Change Periodic Process Screen.

Delete a periodic process

Enter 4 next to a process to delete it.

Display a periodic process

Enter 5 next to a process to advance to the Display Periodic Process Screen.

Display the periodic functions within the periodic process

Enter 7 next to a process to advance to the Work with Process Assignments Screen (Assigning Functions to a Periodic Process).

Run a periodic process

Enter 9 next to a process to advance to the First Execute Periodic Process Screen (Setting Parameters).

Display the history of a periodic process

Enter 13 next to a process to advance to the Work with Process History Screen.

Create a new periodic process

Press F6 to advance to the Create Periodic Process Screen.

Create Periodic Process Screen

Purpose: Use this screen to create a periodic process.

How to display this screen: Press F6 at the Work with Periodic Processes Screen.

MSR0258 ENTER Create Periodic Process 7/12/96 10:39:31

Process . . . . . .

Description . . . .

Type . . . . . . . .

Appl Area . . . . .

Job Description . . *USRPRF

Job Queue . . . . . *JOBD

Output Queue . . . . *JOBD

Message Queue . . . *JOBD

Message logging . . *JOBD *JOBD *JOBD

F3=Exit F12=Cancel

Field

Description

Process

The name of the periodic process.

Alphanumeric, 10 positions.

Create screen: required.

Change screen: display-only.

Description

The description of the periodic process.

Alphanumeric, 30 positions; required.

Type description (Periodic process type list)

This value indicates the time period of the periodic process. Processes can be run on a daily, weekly, monthly or yearly basis.

Valid values are:

OA = O/E annually

OD = O/E daily

OM = O/E monthly

OW = O/E weekly,

PA = P/O annually

PD = P/O daily

PM = P/O monthly

PW = P/O weekly

 

SA = System annually

SD = System daily

SM = System monthly

SW = System weekly,

UA = Annually

UD = Daily

UM = Monthly

UW = Weekly

Alphanumeric, 2 positions; optional.

Company parameter?

This flag is included on the Change Periodic Process Screen and the Display Periodic Process Screen, and indicates whether any of the periodic functions added through the Work with Process Assignments Screen (Assigning Functions to a Periodic Process) require a company parameter. Possible settings are:

Y = One or more of the periodic functions has the Company parameter set to Y

N = None of the periodic functions has the Company parameter set to Y

If this value is set to Y, the Company field at the First Execute Periodic Process Screen (Setting Parameters) is enterable and required; otherwise, the field is display-only.

Alphanumeric, 1 position; display-only.

Appl area

The area of CWDirect (for example, Order Entry) where this process belongs.

Alphanumeric, 3 positions; required.

Job description

The iSeries job description to which the system submits the periodic process. See the iSeries documentation for more information.

The job description defaults to *USRPRF.

Alphanumeric, 10 positions; required.

Job queue

The job queue where the system submits the periodic process. See the iSeries documentation for more information.

The job queue defaults to *JOBD.

Alphanumeric, 10 positions; required.

Output queue

The output queue where the reports generated by the periodic process are located. See the iSeries documentation for more information.

The output queue defaults to *JOBD.

Alphanumeric, 10 positions; required.

Message queue

The message queue where the system stores messages, for example a message informing you the process has completed. See the iSeries documentation for more information.

The message queue defaults to *JOBD.

Alphanumeric, 10 positions; required.

Message logging (Message log level list)

The level of message logging the periodic process job generates. See the iSeries documentation for more information.

Alphanumeric, three lines, 5 positions for the first two, 7 positions for the last; required.

To assign functions to the periodic process, return to the Work with Periodic Process screen and enter 7 next to the process. See Work with Process Assignments Screen (Assigning Functions to a Periodic Process).

Work with Process Assignments Screen (Assigning Functions to a Periodic Process)

Purpose: Use this screen to assign periodic functions to a periodic process.

How to display this screen: Enter 7 next to a process at the Work with Periodic Processes Screen.

MSR0176 CHANGE Work With Process Assignments 7/19/96 11:25:58

Process : AGECBT AGE CUSTOMER BILL TO Type : UD Appl Area : A/R

Type options, press Enter.

4=Delete

Opt Seq# Function Description Select

1 CBTAGE CUSTOMER BILL TO AGING Y

F3=Exit F12=Cancel

Field

Description

Process

The name of the periodic process.

Alphanumeric, 10 positions; display-only.

Description

The description of the periodic process.

Alphanumeric, 30 positions; display-only.

Type description

This value indicates the time period of the periodic process. Processes can be run on a daily, weekly, monthly or yearly basis.

OA = O/E annually

OD = O/E daily

OM = O/E monthly

OW = O/E weekly,

PA = P/O annually

PD = P/O daily

PM = P/O monthly

PW = P/O weekly

 

SA = System annually

SD = System daily

SM = System monthly

SW = System weekly,

UA = Annually

UD = Daily

UM = Monthly

UW = Weekly

Alphanumeric, 2 positions; optional.

Appl area

The area of CWDirect (for example, Order Entry) where this application belongs.

Alphanumeric, 3 positions; display-only.

Seq # (Sequence Number)

The position of the function within the periodic process. This number indicates the order in which the system executes the functions within the process.

Numeric, 3 positions; required.

Function

The name of the periodic function. Periodic functions are validated against the Periodic Function file.

Alphanumeric, 7 positions; required.

Description

The description of the periodic function.

Alphanumeric, 30 positions; displays when correct information is entered in the required fields.

Select

This value indicates whether to include the periodic function in the execution.

Valid values are:

Y = Include this function.

N = Do not include this function.

Alphanumeric, 1 position; required.

Change Periodic Process Screen

To change: Enter 2 next to the process on the Work with Periodic Processes Screen to advance to the Change Periodic Process screen. You can change any information on this screen except the process name and company parameter.

See Create Periodic Process Screen for field descriptions.

Display Periodic Process Screen

To display: Enter 5 next to the process at the Work with Periodic Processes Screen to advance to the Display Periodic Process screen. You cannot change any information on this screen. See Create Periodic Process Screen for field descriptions.

SO02_02 CWDirect 18.0.x 2018 OTN