Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Command Reference


5.2.28 Start condition definition

This paragraph explains how to specify a start condition definition.

To define start conditions, specify the unit definition parameter for the root jobnet, and then the unit attribute parameter for start conditions. For the start condition unit, attach the string .CONDITION. For the start condition unit, you can define up to 32 event jobs. Note, however, that you cannot define a recovery job for an event job.

The following gives the format of, and the parameters for a start condition definition.

Format
[cond={and|or};]
[mcs={m|w|s};]
[cgs={y|n};]
[ab={exec|hold|stop};]
Parameters
cond={and|or};

Define the connection type of start conditions. The default is and.

  • and: ANDs start conditions.

  • or: ORs start conditions.

mcs={m|w|s};

Specify how the system behaves if there is already a monitoring generation whose status is Now monitoring when the monitoring of start conditions is started. If you omit this option, the system assumes m.

  • m: The system starts the monitoring of start conditions. As a result, multiple monitoring generations are started. In this case, occurrence of one event causes start conditions of multiple generations to be satisfied.

  • w: The system does not start the monitoring of start conditions, and waits for the monitoring generation in Now running status to terminate. In this situation, if a timeout for the jobnet occurs, the status changes to Skipped so not exe.

  • s: The system skips starting the monitoring of start conditions. The status of the skipped monitoring generation becomes Skipped so not exe.

cgs={y|n};

Specify whether to stay execution of a generation of a jobnet if the generation's start conditions are satisfied while another generation is already in Now running status when concurrent execution of jobnet generations is disabled. If you omit this option, the system assumes y.

  • y: Execution of the jobnet is not repeated so that the generation stays.

    If there is already a generation in Now running status when the start conditions of the next generation are satisfied, the system stays execution of the next generation until the generation in Now running status terminates. The status of the next generation is Wait for start cond. until the generation is executed.

  • n: Execution of the jobnet is repeated so that the generation does not stay.

    If there is already a generation in Now running status when the start conditions of the next generation are satisfied, the system does not stay execution of the next generation. The status of the next generation becomes Skipped so not exe.

ab={exec|hold|stop};

For a jobnet with start conditions, this parameter specifies the behavior of the jobnet's execution generations whose start conditions are satisfied, if the preceding execution generation has terminated abnormally. The default is exec.

  • exec: Executes the jobnet generations whose start conditions are satisfied.

  • hold: Holds the execution of the jobnet generations whose start conditions are satisfied.

  • stop: Stops the jobnet that is monitoring whether the start conditions are satisfied (the monitoring generation of the jobnet).