Work with Job Monitor Screen (WJMO)

Purpose: Use this screen to review and work with the job monitor rules defined for a batch job.

How to display this screen: Enter WJMO in the Fast Path field at the top of any menu or select Job Monitor Status from a menu.

Column sort: You can sort on any column on this screen by clicking on the column name. An arrow pointing up displays next to the field when the values for the field display in ascending sequence; an arrow pointing down displays next to the field when the values for the field display in descending sequence.

Jobs first display on this screen in alphanumeric job name sequence.

         To review the job with the most recent update, click on the Update Date field until an arrow pointing down displays next to it to display jobs in descending update date sequence.

         To review the job with the most recent transaction, click on the Transaction Date field until an arrow pointing down displays next to it to display jobs in descending transaction date sequence.

 

Field

Description

Job Name

The name of the job. Place your cursor over the job name to determine if the job is associated with a heartbeat and/or transactions.

         Heartbeat Only = the job is associated with a heartbeat that the system uses to verify that the job is still active. Currently, there are no jobs associated with a heartbeat only.

         Transactions Only = the job processes transactions.

         Heartbeat and Transactions = the job is associated with a heartbeat and processes transactions.

         Query = this job runs queries not related to the other jobs listed on the Work with Job Monitor screen.

See Which Jobs are Monitored? for a list of jobs that display on this screen and whether the job is associated with a heartbeat and/or transactions.

Alphanumeric, 10 positions; display-only.

Update Date

The date when a heartbeat was last processed for the job to verify that the job is still active.

If the job also processes transactions, the system also updates this field when a transaction is processed.

Note:  If a job uses a heartbeat and processes transactions, the update date and time may be different from the transaction date and time.

Numeric, 8 positions (in user date format); display-only.

Update Time

The time when a heartbeat was last processed for the job to verify that the job is still active.

If the job also processes transactions, the system also updates this field when a transaction is processed.

Note:  If a job uses a heartbeat and processes transactions, the update date and time may be different from the transaction date and time.

Numeric, 6 positions (HH:MM:SS format); display-only.

Transaction Date

The date when a transaction was last processed by the job.

Note:  If a job uses a heartbeat and processes transactions, the update date and time may be different from the transaction date and time.

Numeric, 8 positions (in user date format); display-only.

Transaction Time

The time when a transaction was last processed by the job.

Note:  If a job uses a heartbeat and processes transactions, the update date and time may be different from the transaction date and time.

Numeric, 6 positions (HH:MM:SS format); display-only.

Process

The menu option where you can work with the job.

Click on this value to advance to the specified menu option.

Rules

Indicates whether any condition rules are defined for the job.

Once rules are defined for a job, the color of the Rules icon changes to blue (WJMORulesIcon.png).

Screen Option

Procedure

Work with the condition rules defined for a job

In the Action drop down list, select Rules for a job to advance to the Work with Job Monitor Rules Screen.

Note:  Once rules are defined for a job, the color of the Rules icon changes to blue (WJMORulesIcon.png).

Refresh the screen with the most recent Update Date, Update Time, Transaction Date, and Transaction Time

Select Refresh.

Display all jobs in the Job Monitor Status, including jobs that were previously hidden

Select Show All.

Note:  You can use the Hide Job option on the Work with Job Monitor Rules Screen to hide a job so that it does not display on the Work with Job Monitor Screen (WJMO).

Work with Job Monitor Rules Screen

Purpose: Use this screen to define monitoring rules for a job. When these rules are met, you can have the system:

         notify you by email.

         run a periodic function, and if the conditions for the rule are still met after the defined sleep time, send an email when the re-alert time is reached.

The condition rules can be based on the last update date and time, the last transaction date and time, or query results.

Note:             If job monitoring does not run on the application server (the ALLOW_JOB_ MONITOR property for the application server is set to N), the only option on this screen is to display a rule’s settings.

How to display this screen: In the Action drop down list, select Rules for a job on the Work with Job Monitor Screen (WJMO).

Column sort: You can sort on the Rule and Status columns on this screen by clicking on the column name. An arrow pointing up displays next to the field when the values for the field display in ascending sequence; an arrow pointing down displays next to the field when the values for the field display in descending sequence.

Field

Description

Job Name

The name of the job associated with the monitoring rules. This is the job you selected on the Work with Job Monitor Screen (WJMO).

Alphanumeric, 10 positions; display-only.

Rule

The name of the job monitor rule.

Note:  

         When you schedule a job monitor rule, the system uses the first 10 positions of the rule name as the job name that displays on the Scheduled Jobs Screen.

         In order to save alert emails for the job monitor rule in the TRACK_ALERT_ EMAILS_IN_ FOLDER directory, do not use any special characters in the job monitor rule name.

Alphanumeric, 25 positions; display-only.

When

Indicates how often the system monitors the job to see if it meets the rule’s conditions, based on the Frequency, Start Time, and End Time defined for the rule on the Create Job Monitor Rule Screen.

Alphanumeric, 40 positions; display-only.

Status

The status of the job monitor rule.

Valid statuses are:

         Unscheduled = The rule has been created, but it not in use.

         Scheduled = The rule has been created and scheduled, but is not currently running.

         Running = The rule is actively running.

         Ending = The rule is in the process of ending.

Alphanumeric, display-only.

Check Date

The date when the system last compared this rule to the monitoring information for the job to determine if the rule’s conditions are met.

Numeric, 8 positions (in user date format); display-only.

Check Time

The time when the system last compared this rule to the monitoring information for the job to determine if the rule’s conditions are met.

Numeric, 6 positions (HH:MM:SS format); display-only.

If you are reviewing the Work with Job Monitor Rules screen from an application server

Screen Option

Procedure

Create a job monitor rule

Select Create to advance to the Create Job Monitor Rule Screen.

Hide this job from the Work with Job Monitor Screen (WJMO)

Select Hide Job.

Note:  To redisplay this job, including all other jobs that are hidden, select Show All on the Work with Job Monitor Screen (WJMO).

Review a job monitor rule

Select Display in the Action column for a job monitor rule to advance to the Display Job Monitor Rule screen. All fields on this window are display-only. See the Create Job Monitor Rule Screen for field descriptions.

Note:  This option is available if the status of the job is Unscheduled, Scheduled, Running, or Ending.

Change a job monitor rule

Note:  This option is available only if the Status of the job monitor rule is Unscheduled.

Select Change in the Action column for a job monitor rule to advance to the Change Job Monitor Rule screen. See the Create Job Monitor Rule Screen for field descriptions.

Note:  This option is available if the status of the job is Unscheduled.

Run a job monitor rule

Note:  This option is available only if the Status of the job monitor rule is Unscheduled or Scheduled.

Select Start in the Action column for a job monitor rule to change its status to Running. At the Confirm window, select OK to start running the rule; otherwise, select Cancel.

Note:  This option is available if the status of the job is Unscheduled or Scheduled and the start time is met.

When you start a job monitor rule, the system changes the status of the job to Running.

Stop a job monitor rule

Note:  This option is available only if the Status of the job monitor rule is Running.

Select Stop in the Action column for a job monitor rule. At the Confirm window, select OK to stop running the rule; otherwise, select Cancel.

Note:  This option is available if the status of the job is Running.

When you stop a rule, the system changes its status from Running to Ending, and then to Unscheduled or Scheduled.

Schedule a job monitor rule

Note:  This option is available only if the Status of the job monitor rule is Unscheduled.

Select Schedule in the Action column for a job monitor rule to change its status to Scheduled. At the Confirm window, select OK to schedule the rule; otherwise, select Cancel.

Note:  This option is available if the status of the job is Unscheduled.

When you schedule a job monitor rule, the system displays the job on the Scheduled Jobs Screen. The first 10 positions of the job monitor rule name displays as the job name on the screen. If the job monitor rule runs a periodic process, the system also displays the periodic process on the Scheduled Jobs screen and schedules the periodic process to run 1 minute after the associated job monitor rule. Once the periodic process runs, the system removes it from the Scheduled Jobs screen.

Unschedule a job monitor rule

Select Unschedule in the Action column for a job monitor rule to change its status to Unscheduled. At the Confirm window, select OK to schedule the rule; otherwise, select Cancel.

Note:  This option is available if the status of the job is Scheduled.

Delete a job monitor rule

Select Delete in the Action column for a job monitor rule. At the Confirm window, select OK to delete the rule; otherwise, select Cancel.

Note:  This option is available if the status of the job is Unscheduled.

Create Job Monitor Rule Screen

Purpose: Use this window to define settings for a job monitor rule.

How to display this screen: Select Create on the Work with Job Monitor Rules Screen.

Field

Description

Job Name

The name of the job associated with the monitoring rule. This is the job you selected on the Work with Job Monitor Screen (WJMO).

Alphanumeric, 10 positions; display-only.

Rule

The name of the job monitor rule.

Note:  When you schedule a job monitor rule, the system uses the first 10 positions of the rule name as the job name that displays on the Scheduled Jobs Screen.

Alphanumeric, 25 positions; required.

Frequency

How often the system monitors the job to see if it meets the rule’s conditions.

Valid values:

         Daily: the system monitors the job for this rule every day.

         Weekdays: the system monitors the job for this rule every Monday, Tuesday, Wednesday, Thursday, and Friday.

         Weekends: the system monitors the job for this rule every Saturday and Sunday.

         Monday: the system monitors the job for this rule every Monday.

         Tuesday: the system monitors the job for this rule every Tuesday.

         Wednesday: the system monitors the job for this rule every Wednesday.

         Thursday: the system monitors the job for this rule every Thursday.

         Friday: the system monitors the job for this rule every Friday.

         Saturday: the system monitors the job for this rule every Saturday.

         Sunday: the system monitors the job for this rule every Sunday.

Alphanumeric; required.

Start Time

Defines the start time when the system monitors the job to see if it meets the rule’s conditions.

You must enter the start time in HHMMSS military format; for example, enter 070000 to indicate a start time of 7 AM.

Note:  Valid entries are 000000 - 235959. The start time must be earlier than the end time.

Numeric, 6 positions; required.

End Time

Defines the end time when the system monitors the job to see if it meets the rule’s conditions.

You must enter the end time in HHMMSS military format; for example, enter 170000 to indicate an end time of 5 PM.

Note:  Valid entries are 000000 - 235959. The end time must be later than the start time.

Numeric, 6 positions; required.

User

The user ID associated with the job monitor rule.

The user ID defaults to the user that is creating or updating the rule, but you can override it.

User IDs are defined in and validated against the User table.

Alphanumeric, 10 positions; required.

Alert On

Defines the factor the system evaluates to determine if the job meets the rule’s conditions.

Valid values:

         Update Time: The system evaluates the job’s last update date and time to determine if the job meets the rule’s conditions.

         Transaction Time: The system evaluates the job’s last transaction date and time to determine if the job meets the rule’s conditions.

         Query: The system evaluates the results of the query specified for the rule to determine if the job meets the rule’s conditions.

Alphanumeric, required.

Query

The name of the query whose results the system evaluates to determine if the job meets the rule’s conditions.

The query must be located in the directory defined in the JOB_MONITOR_QUERY_ DIRECTORY property.

Alphanumeric, 25 positions; required if Alert On is set to Query.

Alert After

The number of minutes to determine when to test for the condition.

current time - alert time = last update time 

Numeric, 3 positions; required.

Sleep Time

The time, in minutes, between rechecking the condition.

Numeric, 3 positions; required.

Re-alert After

The time, in minutes, for re-alerting for the condition.

Note:  The re-alert after minutes should be equal to or greater than the sleep time minutes.

Numeric, 3 positions; required if Action Type is Email.

Action Type

Defines the type of action to take when the job meets the rule’s conditions.

Valid values:

         Email: Send an email to the specified To Email.

         Periodic Process: Run the specified periodic process. Note: When the Action Type is Periodic Process, define a From Email, Subject, To Email, and Email Text to have the system send an email alert if the condition for the job monitor rule still exists after running the periodic function. The system will continue to send an email alert until the condition is no longer met or the end time is met.

Alphanumeric, required.

Periodic Process

The code for the periodic process to run.

Periodic processes are defined in and validated against the Periodic Process table.

Alphanumeric, 10 positions; required if Action Type is Periodic Process.

Process Company

The code for the company to run the periodic process.

Company codes are defined in and validated against the Company table.

Numeric, 3 positions; optional.

From Email

The “from” email address for the job monitor rule email. See Email Address Validation

Alphanumeric, 50 positions; required if Action Type is Email.

Subject

The subject of the job monitor rule email.

Alphanumeric, 50 positions; required if Action Type is Email.

To Email

The list of email addresses that receive the job monitor rule email. Each email address entered must be separated by a semi-colon (;).

For example: email1@add.com;email2@add.com. See Email Address Validation

Alphanumeric, 200 positions; required if Action Type is Email.

Email Text

The text to display in the body of the job monitor rule email.

Alphanumeric, 255 positions; required if Action Type is Email.

 

________________________________

Home

SCVs

Glossary

Reports

XML