Job Stream Maintenance
The Job Stream Maintenance screen allows you to define a sequence of Java classes, Applications or Commands or even Job Streams that are to be run as one collective job. Each step can be checked for completion and the whole job terminated if a step fails. The job may then be restarted at a specified step to allow it to run to completion.
Job Streams are ideal for creating processes such as End of Day processing whereby many steps are involved, they each need to execute in order and the next step cannot start until the previous one is complete. Any example of a job stream in an organization might be the following:
- Process New Accounts where several separate transactions are run and multiple tables updated.
- Summarize the days transactions
- Flag overdue receivable accounts, produce overdue reminders
- Perform reconciliation
- Create reports for management
Column definitions
- Stream Name - the name of the job stream.
- Description - the description of this job stream.
- Last run status - the last completion status that was returned when this job stream was last run (Success or Failure).
- Last entry run - the last entry number that was run. If the last run status was failure then this number will be the entry number that failed. If the job stream completed successfully this will be set to zero.
- Actual start - the date/time that this job stream started.
- Actual end - the date/time that this job stream completed.
- Entry - the number of this entry. Entry numbers are user defined and begin at zero.
- Stop if Entry fails - check to cause execution of the job stream to terminate if this entry fails to complete successfully.
- Last Status - the last execution status of the selected job stream entry (Success or Failure).
- Duration - the total time the entry took to run.
- When restarting - select the procedure to take when restarting this job stream.
- Restart at first entry - will cause the Enterprise Server to start with the first entry when this job is restarted if it failed the previous time it ran.
- Restart at last failed entry - will cause the Enterprise Server to start this job stream at the entry that failed the previous time this job stream was run.
- Restart at entry after last failed - will cause the Enterprise Server to start this job stream at the entry immediately after the last one that failed the last time this job stream was run.
- Define Task - for more information of defining the task to run see the following:
- Last Job Log - the detailed output that was produced by the job and the Enterprise Server during the execution of the job including details of why the job may have ended abnormally. If the Enterprise Server was terminated while the job was in progress the message 'Job ended when Enterprise Server was terminated.' will appear at the bottom of the job log. For job logs for previous runs see Job Log Inquiry.
Buttons
- Apply - apply changes to the selected job entry.
- Add - press to add a new entry with the currently selected settings. Be sure to enter a unique entry number.
- Remove - remove the currently selected entry. Note that no confirmation dialog appears when removing entries.
- Refresh - refreshes the list of job streams and their entries.