Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide


5.1.3 End delay monitoring based on time-required-for-execution

You can also monitor for end delays based on the time-required-for-execution of a job. In this case, JP1/AJS3 monitors how long the job takes to execute on the manager host, which may differ from how long it takes on the agent host. This discrepancy can affect whether an end delay is detected.

Timeout monitoring, on the other hand, is based on how long the job is active on the agent host. For this reason, there is a time difference between timeout detection and the detection of an end delay.

The following are examples of situations where a job has a different time-required-for-execution on the manager host and agent host:

Supplementary notes
  • When an end delay is detected for a job, you can check the job's execution time on the agent host by using the ajsshow command. Execute the command with the format specifiers %V and %Q to acquire the execution start and end times of the job. For the command syntax, see ajsshow in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

  • If you specify yes in the JOBDELAYWARNMSG environment setting parameter of the scheduler service, the message KAVS0249-W The scheduler services stopped before execution of the job began. is output to the integrated trace log when a job being monitored for an end delay starts executing while the scheduler service is stopped. You can identify the job name and execution ID from the content of the message.

    To verify an end delay based on the time-required-for-execution of the job on the agent host, use the ajsshow command to acquire the execution start and end times of the job identified in the message KAVS0249-W.

    For information about the environment setting parameter JOBDELAYWARNMSG, see 20.4 Setting up the scheduler service environment in the JP1/Automatic Job Management System 3 Configuration Guide.