Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Troubleshooting


2.6.6 Troubleshooting problems related to units with wait conditions

This subsection describes how to troubleshoot problems related to units with wait conditions.

Organization of this subsection

(1) A unit with a wait condition remains in the Wait for prev. to end, Wait for start time, or Not sched. to exe. status and is not executed

In the Wait Conditions Statuses window, check the execution status of the unit whose end is being waited for, and then take appropriate action based on this status as described below.

If the unit whose end is being waited for is running:

The unit with a wait condition is still waiting for the termination of the unit whose end is being waited for. Wait until the unit whose end is being waited for terminates.

If the unit whose end is being waited for has ended abnormally:

An error might have occurred in the unit whose end is being waited for. Eliminate the cause of the error according to the messages output to the integrated trace log and to the Windows event log or to syslog. Next, either re-execute the unit whose end is being waited for or change the status of this unit to Ended normally.

If the unit whose end is being waited for is not registered:

Register for execution the unit whose end is being waited for.

If the unit whose end is being waited for is suspended:

Release the unit whose end is being waited for from the suspend status.

If the unit whose end is being waited for has no scheduled generations:

If Do not execute is selected for If not waiting for any generations in the Waiting Condition Settings window, the unit with a wait condition waits for a scheduled generation to be created for the unit whose end is being waited for, and for execution of the generation to end. If you want to execute the unit with a wait condition, create an execution schedule for the unit whose end is being waited for.

If you want to execute the unit with a wait condition without waiting for the unit whose end is being waited for to end, temporarily disable the wait for the unit whose end is being waited for. For details about how to temporarily change the wait condition, see 4.5.15 Temporarily changing the wait condition settings for a jobnet or job in the manual JP1/Automatic Job Management System 3 Overview.

Cautionary note

A unit with wait conditions can wait in the Not sched. to exe. status for the conditions to be met only if yes is specified for the PREWAITNOSCHUNITS environment setting parameter. For the PREWAITNOSCHUNITS environment setting parameter, see 20.4.2(122) PREWAITNOSCHUNITS in the JP1/Automatic Job Management System 3 Configuration Guide.

(2) A unit with a wait condition ends abnormally without being executed

In the Wait Conditions Statuses window, check the unit with a wait condition and the unit whose end is being waited for.

If the unit whose end is being waited for ends, but the unit with a wait condition ends abnormally, the definition of the unit whose end is being waited for might be invalid. For details about invalid definitions for units whose end is being waited for, see 2.2.5(8) Checking units whose ends are being waited for in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide.

If the definition of the unit whose end is being waited for is invalid, perform the procedure listed below.

To correct the problem, perform the following:

  1. Correct the invalid definition for the unit whose end is being waited for.

  2. Re-execute the unit whose end is being waited for.

  3. Make sure that the status of the unit whose end is being waited for is Now running, and re-execute the unit with a wait condition.

If you want to re-execute only the unit with a wait condition, temporarily disable the wait for the unit whose end is being waited for, and then re-execute the unit with a wait condition. For details about how to temporarily change wait conditions, see 4.5.15 Temporarily changing the wait condition settings for a jobnet or job in the manual JP1/Automatic Job Management System 3 Overview.