This chapter provides an overview of jobs and JobSets, and discusses how to:
Create job definitions.
Define schedule JobSets.
Monitor jobs.
This section lists common elements and discusses jobs and JobSets.
Schedule Name |
Displays the name of the JobSet definition schedule that is assigned when adding a new value. |
Job Name |
Displays the name of the job definition to be scheduled. The Job Name can have a maximum length of 8 characters. Note. Although you can create a job with a job name that exceeds 8 characters, you will encounter an error message when you attempt to run the job. |
JobSet Report |
Click to display a hierarchical view of the processes within the JobSet. |
Report Manager |
Click to access the Report Manager module to view report results. |
Process Monitor |
Click to access the Process Monitor to view the status of job requests. |
PeopleSoft Process Scheduler enables you to schedule one or more processes as a group. In this context, job describes this type of process group.
A process is a single task, program, or routine, such as a Structured Query Report (SQR) report or COBOL program that runs either on the client or on a server. A job consists of one or more processes of the same or different types that are submitted as a unit and can run either in series or parallel. They require the scheduling support that only a server environment can offer and all processes must be API-aware.
Scheduled JobSets enable you to schedule a recurring job using a schedule JobSet definition. Each process within a job can be altered to set up its own output destination options or set the operating system where the process is to be scheduled.
Features that are available when scheduling JobSets that are not available with recurring jobs are:
You can have different run control ID for each process within a job.
Job items can be run from different operating systems or servers.
Job items can run at specific times.
You can change attributes to any job items.
See Also
This section lists common elements and discusses how to:
Define jobs.
Set job definition options.
Define distribution lists.
Define notifications.
ID Type |
Select a role or user ID. |
Distribution ID |
Enter the actual user ID or the name of the role. |
Page Name |
Object Name |
Navigation |
Usage |
Job Definition |
PRCSJOBDEFN |
PeopleTools, Process Scheduler, Jobs, Job Definition. |
Define a job definition. |
Job Definition Options |
PRCSJOBDEFN2 |
PeopleTools, Process Scheduler, Jobs, Job Definition Options. |
Define options for jobs that you run on a regular basis. |
Job Distribution |
PRCSJOBNTDIST |
PeopleTools, Process Scheduler, Jobs, Job Distribution. |
Set up a distribution list for jobs, based on role or user ID. |
Job Notification |
PRCSJOBNOTIFY |
PeopleTools, Process Scheduler, Jobs, Job Notification. |
Set up a list of users to be notified if a process encounters an error, warning, successfully completes, or is disabled. |
Job Messages |
PRCSJOBMESSAGE |
PeopleTools, Process Scheduler, Jobs, Job Messages. |
Specify the messages that are sent when the Job Notification feature is used. |
Access the Job Definition page.
Before creating a job definition, define the individual processes that are included in the job.
Run Mode |
Serial: Select to run each process in the job sequentially. Parallel: Select if you don’t have a requirement for the processes to run in a certain order. If you select this option, Run Always check boxes for all of the processes are selected. |
Priority |
Select High, Medium, or Low. PeopleSoft Process Scheduler initiates the job with the highest priority first. |
Process Category |
Select a process category for this job. Note. The process category Default is delivered with your system. If this is the only category available, all job definitions are automatically assigned to this category. If additional process categories are created, this field value is blank. |
Max Concurrent |
Enter the maximum number of occurrences of this job that can be active at one time across all process schedulers. The default value is unlimited (blank). Jobs exceeding the maximum will appear on the Process Monitor with a run status of Blocked. As active occurrences complete, blocked jobs are released and scheduled. |
Override Process Retry Count |
Select to override the process definition retry count for the individual processes contained in this job. Selecting the check box activates the Retry Count field. |
Retry Count |
Enter the number of times the system should attempt to restart this job. |
JobSet Report |
Click to go to the JobSet Report page. |
See Defining Process Categories, Displaying a Hierarchical View of Processes in a JobSet.
This group box lists all processes and jobs that are associated with this job. To add additional rows or processes, click the Insert Row button that precedes the location where you want the new row.
Process Type |
Select the processes that you want in the order that you want them to run. |
Run Always on Warning |
Select to enable the next process in the queue to run, regardless of whether the process situated immediately before this process ran to warning. |
Run Always on Error |
Select to enable the next process in the queue to run, regardless of whether the process situated immediately before this process ran to error. |
The Run Always feature only works if the process that is selected to run is always the next process in the queue after the process that ran to error or warning. For example:
A serial job contains three processes. The third process in the queue is selected to Run Always on Error. If the first process in the queue runs to error, the third process will not run because the system looks only to see if the next process in the queue is selected. Process #2 is not selected so the job runs to No Success.
Note. After completing this page, select a server name and recurrence name on the Job Definition Options page.
Procedure for Run Always Settings
This table shows the procedure for the Run Always on Warning and Run Always on Error settings:
Run Always on Warning |
Run Always on Error |
Process Status |
Job Status |
Next Process Scheduled |
0 |
0 |
Warning |
Warning |
No |
0 |
0 |
Error |
Error |
No |
1 |
0 |
Warning |
Warning |
Yes |
1 |
0 |
Error |
Error |
No |
1 |
1 |
Warning |
Warning |
Yes |
1 |
1 |
Error |
Error |
Yes |
Run Always - Functionality Rules
Process Scheduler uses the following rules when either of the Run Always check boxes are selected for a PSJob contained within another PSJob.
Note. The Run Always check box must be selected for individual items within a PSJob. The items do not automatically inherit the selection if the check box is selected for the PSJob.
If a serial job (JOB A) contains another job as an item (JOB B), the Run Always check box is selected for JOB B, and the item that precedes JOB B receives a status of either Error or No Success. Process Scheduler proceeds using the following rules:
If JOB B is also a serial job, then the first item in this job is changed to Queued.
If this first item encountered an error or warning during processing and received a status of either Error, Warning, or No Success, the next item in the list is changed from Pending to Queued if the Run Always check box is selected for that item. If no item in JOB B has the Run Always check box selected, then JOB B will receive an Error or Warning status when the first item did not run successfully.
If JOB B is a parallel job, then the status for all items in JOB B is changed to Queued and will be run by Process Scheduler.
If the status of JOB B is Error or Warning, the JOB A item listed after JOB B is only released by Process Scheduler if its Run Always check box is selected.
If the check box is not selected, Process Scheduler will consider JOB A complete and no other items in JOB A will be run. Process Scheduler will update the status of JOB A to Error or Warning.
Access the Job Definition Options page.
Use the Job Definition Options page to define options for jobs that you run on a regular basis.
Server Name |
Enter a server name if you want to require this job to run on a specific server only. If you leave this field blank, the job finds an available server on which to run, based on the process class. |
Recurrence Name |
(Optional) Select a recurrence name for running at previously defined intervals. |
Process Type and Process Name |
Enter the type and name of an optional process that can be run in case this job runs to an error. The job will not restart until the system recovery optional process entered here has run. |
Component |
To add new rows, click the Add button. This makes the job definition a member of that component. Adding a component to a job definition causes that job definition to appear on the Process Scheduler Request page when you select File, Run within that component group, if you have security to run the process. |
Process Groups |
Select an existing group, or add a new class by entering a unique process group. To add new rows, click the Add button. A job definition may be a member of multiple process groups. Process Groups are assigned in PeopleSoft Security Administrator. This enables you to specify the process requests that classes of users can run. |
Access the Job Distribution page.
Use the Job Distribution page to set up a distribution list for jobs, based on role or user ID.
Note. You must specify an output type of Web, Window, or Email for the distribution list to be accepted when the PSJob is created
Override Distribution List from Processes in Job |
Select to use the distribution IDs from the job definition. If the check box is cleared distribution IDs from both the job and process definitions are used. Job Within Job: The Override option for the main job is ignored. Process Scheduler uses the distribution IDs from the PSJob definition. If the check box is cleared, distribution IDs from both the PSJob and process definitions are used. Note. When the Override option is selected for the main job, Process Scheduler uses the distribution IDs from the main job definition and ignores only the distribution IDs from the individual process definitions within the main job. |
Access the Job Notification page.
Use the Job Notification page to set up a list of users to be notified if a process encounters an error, warning, successfully completes, or is disabled. Set up the list based on role or user ID.
Override Notification List from Processes in Job List |
Select to notify only users that are specified in the job definition. If cleared, users specified in the job and process definitions are notified. Job Within Job: Select to notify only users that are specified in the main job definition. If cleared, users specified in the main job, jobs within, and process definitions are notified. Important! The Override option is ignored for any job listed within the main job. |
On Error |
Send notification to the Distribution ID if there is an error in the process. |
On Warning |
Send notification to the Distribution ID if there is warning in the process. |
On Success |
Send notification to the Distribution ID when the process successfully completes. |
Disabled |
Select if you do not want to send notifications to users specified on this line. |
Use the Job Messages page to configure the messages that are sent when the Job Notification feature is used. You can specify messages for successful completion, errors, and warning.
Message Type |
Select the message type: Default Message: Use the basic default message. Customized Message: Create your own message. Message Catalog: Select a message from the Message Catalog. |
Message Set/Number |
Select the Message Catalog set and number of the message. Complete these fields when the message type is Message Catalog. |
Text |
Enter the message text when the message type is Customized Message. |
This section provides an overview of schedule JobSets and discusses how to:
Create scheduled JobSet definitions.
Display a hierarchical view of processes in a JobSet.
Set options for JobSet items.
View scheduled JobSet requests.
PeopleSoft Process Scheduler provides the ability to define and set up interdependencies among application jobs and processes. This enables the user to schedule jobs in accordance with the logical business model. For example, in PeopleSoft HRMS, all employees’ time cards can be tabulated in PeopleSoft Time and Labor before releasing the human resources (HR) payroll jobs.
Page Name |
Object Name |
Navigation |
Usage |
Schedule JobSet Definition |
SCHDLDEFN |
PeopleTools, Process Scheduler, Schedule JobSet Definitions, Schedule JobSet Definition |
Set JobSet scheduling options. |
JobSet Report |
SCHDL_RPTOPT |
Click the JobSet Report link on the Schedule JobSet Definition, Schedule Job Items, or Schedule JobSet Requests page. |
Display a hierarchal view of processes in a JobSet. |
Schedule JobSet Items |
SCHDLITEM |
PeopleTools, Process Scheduler, Schedule JobSet Definitions, Schedule JobSet Items |
Specify options for individual jobs and processes. |
Schedule JobSet Requests |
SCHDL_RQST_LIST |
PeopleTools, Process Scheduler, Schedule JobSet Definitions, Schedule JobSet Requests |
View the status of each process request contained in the selected JobSet without using Process Monitor. |
Access the Schedule JobSet Definition page.
Use the Schedule JobSet Definitions page to set JobSet scheduling options. It is recommended that you use this page rather than the Process Scheduler Request page.
User ID |
Displays the user ID of the person entering the information. |
Description |
(Required) Enter a description for the JobSet schedule. The default is the schedule name. |
Status |
Select Active, Completed, or Inactive (default). To schedule the JobSet, you must enter and save changes, change the status to Active, and then save. Once scheduled, the status is Completed. |
Run Control ID |
(Required) Enter the run control ID. |
Priority |
(Required) Select High, Medium (default), or Low. |
Begin Date |
(Required) Enter the date on which the JobSet should begin to run. The default is today’s date. |
Time |
(Required) Enter the time at which the JobSet should run. The default is the current time. |
Time Zone |
(Required) Select the time zone in which the job will run. For instance, you might be in Eastern Standard Time (EST) and schedule the job to run in Pacific Standard Time (PST). The default is the user’s time zone. |
Recurrence Name |
Select a recurrence name for running at previously defined intervals. Note. This name does not display on the Process Monitor - Process Detail page. Use the Schedule JobSet Requests page to view the next scheduled start date and time based on the recurrence definition. Important! To eliminate the possibility of duplicating JobSets, you must configure the system with a master scheduler. The task of scheduling JobSets has been removed from a standalone PSPRCSRV, and is strictly the responsibility of the master scheduler. If a master scheduler is not configured, the recurrence setting will be ignored. |
Run Now |
Select this button to run the process immediately. Important! The Begin Date and Time fields are populated by default with the current date and time. To run the JobSet immediately, leave the default values in these fields, activate the JobSet, and select Save. Do not click the Run Now button, as this will also trigger a process request. The Run Now button should only be used if the Begin Date and Time values are changed to a future date and time and you also want the process to run immediately. |
Server Run Option |
(Required) Select the server on which this job should run. Select Any Server (default), Primary Server, Specific OS, or Specific Server. |
Primary Server |
Select the required server if the Server Run Option value is Primary Server or Specific Server. |
Operating System |
Select the required operating system if the Server Run Option value is Any Server or Specific OS. The default is Any Server. |
Select the JobSet Report link to access the JobSet Report page.
Select the check boxes for the items you want to display. Select from:
Show Job Tree.
Show Distribution List.
Show Notification List.
Show Message List.
Show Parameters List.
Access the Schedule JobSet Items page.
If the output options were specified at the main JobSet level, these options apply to all items of that job. You can specify options for individual jobs and processes on this page. These options override the output options that are specified for the parent job.
This page lists each individual process that is contained in the jobs and JobSet and displays a hierarchical view of the processes.
This section discusses how to specify:
General settings.
Output settings.
Server settings.
Time settings.
Other settings.
To specify individual general settings:
Select the General Settings tab.
Enter run control IDs for the required jobs and processes.
To specify individual output settings:
Select the Output Settings tab.
Select the output type and format for the required jobs and processes.
Click the Distribution link for required processes to enter distribution detail information.
You must specify an output type of Web, Window, or Email for the distribution list to be accepted when the PSJob is created
Important! The distribution list is based solely on the information specified for individual processes within the JobSet. Do not enter distribution information in the job header. If the JobSet has no distribution lists, the requester will be the only recipient of the reports.
To specify individual server settings:
Select the Server Settings tab.
Select the server option for the required jobs and processes:
Any Server
Primary Server
Specific OS
Specific Server
Select the required server if the server option is Primary Server or Specific Server.
Select the required operating system if the server option is Any Server or Specific OS.
Note. A Master Scheduler is required to be up and running if you want to distribute the workload across multiple Process Schedulers.
See How to Use Multiple Master Schedulers.
To specify individual time settings:
Select the Time Settings tab.
Select the runtime option for the required jobs and processes:
Job Rule Time.
Specific Time.
Enter the run time and estimated CPU time if the runtime option is Specific Time.
To specify individual other settings:
Select the Other Settings tab.
Click the Notification link for required jobs and processes to enter notification detail information.
Note. Only notification information entered in the JobSet will be in effect. Once Process Scheduler detects there are notifications in any of the items of the JobSet, it will ignore any notification information found in the Job Definition and Process Definition.
Click the Messages link for required jobs and processes to enter message detail information.
Note. Only message information entered in the JobSet will be in effect. Once Process Scheduler detects there are messages in any of the items of the JobSet, it will ignore any message information found in the Job Definition and Process Definition.
Click the Parameters link for required jobs and processes to enter parameter detail information.
Access the Schedule JobSet Requests page.
Use the Schedule JobSet Requests page to view the status of each process request contained in the selected JobSet without using Process Monitor.
Next Start Datetime |
Displays the date and time at which the JobSet is scheduled to run. |
This group box lists each individual process contained in the jobs and JobSet.
Select PeopleTools, Process Scheduler, Process Monitor to access the Process Monitor - Process List page.
Note. You can also access this page by clicking the Process Monitor link on either the Schedule JobSet Definition page or the Process Request Dialog page.
After a job has been submitted using the Process Scheduler Request page or your scheduled job has been triggered, use Process Monitor to review the status of scheduled or running processes.
When a job or JobSet is listed, only the main job appears on the Process Monitor - Process List page. To see the status of all jobs and processes that are attached to the main job, click the Job link to display the Process Monitor - Process Detail page. This page consists of a collapsible tree whenever a job is referenced. Select the Refresh button to update the status of each process.
See Also