Hitachi

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


7.6.1 Notes on the Receive JP1 Event job

The following provides precautions (items you must know in advance) for using the Receive JP1 Event job.

JP1 events are events that are managed by JP1/Base and issued when events occur in JP1 programs. JP1 events contain information about various event levels, ranging from errors and warnings to reports and messages. You can execute a different succeeding job for each event level, or execute the succeeding job only when a specific message is received. You can use regular expressions to extract parts of messages or detailed information from within JP1 events and pass the information to succeeding jobs.

Examples of jobnets that use the Receive JP1 Event job are as follows:

Organization of this subsection

(1) Notes on detecting JP1 events

The Receive JP1 Event job can only monitor events that occur after it begins monitoring. Therefore, JP1/AJS3 does not detect the following JP1 events:

As the JP1 events to be monitored by the Receive JP1 Event job, choose JP1 events that will be issued after the JP1/AJS3 event jobs enter monitoring status.

The following figure shows the timing under which detection cannot take place for a Receive JP1 Event job.

Figure 7‒1: Cases where a Receive JP1 Event job cannot detect events

[Figure]

(2) Options available with the Receive JP1 Event job

With the Receive JP1 Event job, you can set an option that governs whether to monitor reception of JP1 events that occur before the job starts (and before monitoring of JP1 events starts). This is called the Find events prior to exec. option (the option for finding events before starting event monitoring). This option takes effect when you specify an event ID and a search range that dictates how many minutes before the start of the job are to be included in the scope of the Receive JP1 Event job. You can specify a value from 1 to 720 (in minutes). The reference time for this option is based on the local time of the host on which the Receive JP1 Event job is executed.

If you do not use this option, the job only monitors reception of JP1 events that occur after JP1 event monitoring starts.

The following cautionary notes apply when this option is used:

(3) Notes on defining the Receive JP1 Event job

The following are cautionary notes on defining the Receive JP1 Event job: