Previous Topic: Starting and Stopping Methods

Next Topic: ADAM97 Message Rule

How the PLOG Status Can Be Monitored

The following illustration shows an implementation by which the status of the PLOG job can be monitored by operators.

PLOG Monitor

The sequence of events is as follows:

  1. The ADABAS started task is active, and the PLOG job is displayed with the OK logical state (both the desired and actual states are INACTIVE).
  2. The ADABAS started task stops, starting the PLOG job as part of the stopping operation. The ADAM97 message indicates that the job is to be started.
  3. The ADAM97 message triggers a rule that issues a DSA command to change the specified desired state of the PLOG job to ACTIVE. When the job is active, the job is displayed with the OK logical state (both the desired and actual states are ACTIVE).
  4. When the PLOG job stops, it sends a message indicating that it is inactive.
  5. The message triggers a rule that issues a DSR command to reset the desired state of the PLOG job and set the actual state of the job to INACTIVE. The job is displayed with the OK logical state (both the desired and actual states are INACTIVE).

Note: The DSA and DSR commands ensure that the logical state of the PLOG job is OK during normal operation.