Chapter 14: Working with Periodic Processes (WPPR) | Contents | SCVs | Search | Glossary | Reports | XML | Index | Chapter 16: Working with Periodic Process History (WPHS) |
Chapter 15: Executing Periodic Processes (EPRO)
Purpose: Use the Executing Periodic Processes function to select and set up the parameters of a process for its execution.
The parameters of the process contain:
• the company where the execution takes place
• the starting date
• the starting time
Note: Periodic functions and processes are not restricted by company; when you create a periodic function or process, it is defined across all companies.
Scheduling a periodic process: See Scheduling CWDirect Processes on the iSeries for instructions on how to schedule a periodic process to run on a regular basis.
In this chapter:
• Select Periodic Process to Execute Screen
• First Execute Periodic Process Screen (Setting Parameters)
• Second Execute Periodic Process Screen (Selecting Functions)
For more information: You can also execute a periodic process through Working with Periodic Processes (WPPR).
Select Periodic Process to Execute Screen
How to display this screen: Enter EPRO in the Fast path field at the top of any menu, or select Execute Periodic Process from a menu.
MSR0181 ENTER Select Periodic Process To Execute 7/10/96 14:17:06
Process . .
F3=Exit F12=Cancel |
Field |
Description |
Process |
The name of the periodic process you wish to run. Alphanumeric, 10 positions; required. |
Completing this screen: You advance to the First Execute Periodic Process Screen (Setting Parameters). At this screen, you can designate the date and time you wish the process to run.
First Execute Periodic Process Screen (Setting Parameters)
Purpose: Use this screen to set up the parameters of the process for execution.
How to display this screen:
• Enter the process name in the Process field on the Select Periodic Process to Execute Screen.
• Enter 9 next to a periodic process on the Work with Periodic Processes Screen.
MSR0180 ENTER Execute Periodic Process 7/10/96 10:27:10
Process . : AGECBT AGE CUSTOMER BILL TO Appl Area : A/R Daily
Execution : Company
Specific start date *OR Literal start date *CURRENT *CURRENT *MONTHSTR *MONTHEND *MON-*SUN
Specific start time (HH:MM:SS) *OR Literal start time *CURRENT
Override .: Job date . . . Job Description *USRPRF Job Queue . . *JOBD Output Queue . *JOBD Message Queue *JOBD Message logging *JOBD *JOBD *JOBD
F3=Exit F12=Cancel Enter=Select Functions |
Field |
Description |
Process |
The name of the periodic process. Alphanumeric, 10 positions; display-only. |
Description |
Unlabeled field to the right of the Process field. The description of the periodic process. Alphanumeric, 30 positions; display-only. |
Type description (Periodic process type list) |
Unlabeled field underneath the Description field. 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. |
Appl area (Application area) |
The area of CWDirect, for example Order Entry, where this process belongs. Alphanumeric, 3 positions; display-only. |
Company |
The company where the process runs. A company is required if any of the periodic functions assigned to the periodic process have the Company parameter flag set to Y; otherwise, you cannot specify a company for the periodic function. Alphanumeric, 3 positions; required or display-only. |
Specific start date |
The specific date you wish to execute the process. Numeric, 6 positions (MMDDYY format); required if no literal start date is entered. |
Literal start date |
A date calculated by the system. For example, for the process APMONTH, the literal start date *MONTHEND represents the end of the month's accounting period as the starting date for execution. Valid values are: *CURRENT = the present date *MONTHSTR = the beginning of the month *MONTHEND = the end of the month *MON-*SUN = specific day of the week Alphanumeric, 10 positions; required if no specific start date is entered. |
Specific start time |
The specific time you wish to execute the process. Numeric, 8 positions (HHMMSS format); required if no literal start time is entered. |
Literal Start Time |
A time calculated by the system. Valid values are: *CURRENT = the present time Alphanumeric, 10 positions; required if no specific start time is entered. |
Job date |
The date you want the execution to start, for example, 12:00 am. Enter a previous date to execute past data. Otherwise, the process will run current data only. Numeric, 6 positions (MMDDYY format); optional. |
Job description |
The iSeries job description to which the system submits the periodic process. See the iSeries documentation for more information. The 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. |
Completing this screen: You advance to the Second Execute Periodic Process Screen (Selecting Functions). At this screen, you can select the functions within the process to execute.
Second Execute Periodic Process Screen (Selecting Functions)
Purpose: Use this screen to select the functions within the process you wish to run.
How to display this screen: Complete all the necessary fields on the first First Execute Periodic Process Screen (Setting Parameters).
MSR0193 CHANGE Execute Periodic Process 7/15/96 9:51:36 Karen Mail Order
Process . : APME AP MONTH END Appl Area : A/P Monthly
Seq# Function Description Select 10 APDISB AP MONTH-END DISPB JOURNAL Y 20 APPUR AP MONTH-END PURCHASES JOURNAL Y
F3=Exit F7=Execute F9=Execute & Save Overrides F12=Cancel |
Field |
Description |
Process |
The name of the periodic process. Alphanumeric, 10 positions; display-only. |
Description |
Unlabeled field to the right of the Process field. The description of the periodic process. Alphanumeric, 30 positions; display-only. |
Appl area (Application area) |
The area of CWDirect, (for example, Order Entry) where this process belongs. Alphanumeric, 3 positions; display-only. |
Type description (Periodic process type list) |
Unlabeled field underneath the Description field. This value indicates the time period of a 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. |
Seq# |
The position of the function within the periodic process. This number indicates the order in which the system executes the functions within the process. Alphanumeric, 1 position; display-only. |
Function |
The name of the periodic function. Alphanumeric, 7 positions; display only. |
Description |
The description of the periodic function. Alphanumeric, 30 positions; display only. |
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. Numeric, 1 position; required. |
Screen Option |
Procedure |
Execute the periodic process |
Press F7. |
Execute the periodic process and save the overrides |
Press F9. |
Note: If you press F9 to execute the process and save the overrides, the override fields that you change will default the next time you choose this process for execution. |
Chapter 14: Working with Periodic Processes (WPPR) | Contents | SCVs | Search | Glossary | Reports | XML | Index | Chapter 16: Working with Periodic Process History (WPHS) |
SO02_03 CWDirect 18.0 August 2015 OTN