Hitachi

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


2.4.5 Sending a JP1 event at completion of the preceding job or when an event occurs (example of defining a jobnet that uses a Send JP1 event job)

Use a Send JP1 event job when defining a jobnet in which a JP1 event is sent when the preceding job completes or when an event occurs.

To execute a Send JP1 event job, you must first start the JP1/Base event service on both the sending host and the receiving host.

In the example below, a Send JP1 event job is used to define a jobnet in which a JP1 event is sent to host B if a job (job A) ends abnormally on host A. On receipt of the JP1 event, a jobnet to run after abnormal end (jobnet A) is executed on host B.

Figure 2‒90: Example of defining a jobnet that uses a Send JP1 event job

[Figure]

On host A, specify a Send JP1 event job as the succeeding job of job A. The Send JP1 event job is executed if job A ends abnormally. Therefore, set Recovery in the job Type. For details, see 2.4.6 Executing a specific process when a job ends abnormally (example of defining a jobnet that uses a recovery unit). If job A ends abnormally, a JP1 event will be sent to host B. Therefore, specify host B in Event destination host. The JP1 event ID sent to host B is 0000100B. The JP1 event ID can be set to any user-specified value.

On host B, as the start condition to execute jobnet A, define a Receive JP1 event job for receiving the JP1 event from host A. For details on start conditions, see 3.4 Defining a start condition in the manual JP1/Automatic Job Management System 3 Overview. In the Receive JP1 event job, set host A in Host name and specify the event ID sent from host A as 0000100B.

Event arrival confirmation

You can check whether a JP1 event was actually sent to a specified destination host by a Send JP1 event job. To perform this check, you can set a check interval (seconds) or a check count.