Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1


6.3.10 Setting the period of time for monitoring event jobs in the blocked status

An event job or a jobnet with start conditions is said to be in blocked status when event/action control regards the job or jobnet as running, but the scheduler service regards the job or jobnet as having ended.

The blocked status arises when, for example, temporary files required for processing are lost because disk space is temporarily insufficient or a disk error occurs at the same time that the status of an event job changes.

If event jobs or jobnets with start conditions are in the blocked status, information about the events detected by these jobs or jobnets can accumulate in event/action control, where it consumes system resources such as disk space and memory. The accumulation of information in event/action control can delay the processing of other event jobs or jobnets with start conditions.

To prevent an accumulation of information, JP1/AJS3 checks for event jobs and jobnets with start conditions in the blocked status when the specified period of time since JP1/AJS3 service startup has elapsed. If event jobs and jobnets with start conditions in the blocked status are found, they are forcibly terminated and the accumulated event information is discarded.

You change this period of time in an environment setting parameter.

The following describes how to set the environment setting parameter.

Organization of this subsection

(1) Definition procedure

(a) For a standard configuration

  1. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

  2. Execute the following command to set the environment setting parameter described in (2) below:

    jajs_config -k definition-key "parameter-name"=value
  3. Restart JP1/AJS3.

    The new settings are applied.

(b) For a compatible ISAM configuration

  1. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

  2. In a text editor such as Notepad, create a configuration file that defines the environment setting parameter described in (2) below.

  3. Save the file and then execute the following command:

    jbssetcnf configuration-file-name

    The path of the jbssetcnf command is JP1/Base-installation-folder\bin\jbssetcnf. For details on this command, see the Job Management Partner 1/Base User's Guide.

  4. Restart JP1/AJS3.

    The contents of the configuration file are applied to the system.

(2) Environment setting parameter

Table 6‒50: Environment setting parameter used to set the period of time for monitoring event jobs in the blocked status

Definition key

Environment setting parameter

Explanation

  • For all scheduler services

    [{JP1_DEFAULT|logical-host}\JP1AJS2\SCHEDULER\EV\MANAGER]#

  • For a specific scheduler service

    [{JP1_DEFAULT|logical-host}\JP1AJSMANAGER\scheduler-service\EV\MANAGER]#

  • For a compatible ISAM configuration

    [{JP1_DEFAULT|logical-host}\JP1AOMMANAGER]#

"BlockadeTimeoutInterval"=

Specifies the period of time for monitoring event jobs in the blocked status.

#:

The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

For details about the definition of these environment setting parameters, see 2.4.2(8) BlockadeTimeoutInterval in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.