Hitachi

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


5.2.25 Passing information setting job definition

This paragraph explains how to specify a definition for a passing information setting job.

The following gives the format and parameters for a passing information setting job definition.

Format
ty={cpj|rcpj};
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm="-o output-variable-1 [-o output-variable-2...]";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_RE_output-variable-1=regular-expression-1";
   [env="AJS2SO_RE_output-variable-2=regular-expression-2";...]
[wth=n;]
[tho=n;]
[mm={and|or};]
[nmg={y|n};]
[eun=name-of-the-unit-whose-end-is-being-waited-for;]
[ega={exec|execdeffer|none};]
[uem={y|n};]
Parameters
ty={cpj|rcpj};

Specify cpj as a general rule. If you are defining the passing information setting job as a recovery job, specify rcpj.

cty="AJSVAR";

The value of this parameter is fixed.

sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";

The value of this parameter is fixed.

prm="-o output-variable-1 [-o output-variable-2...]";

Specify each output variable by macro variable name, omitting the first five characters (?AJS2) and the last character (?). For example, to output information to the macro variable ?AJS2VAR?, specify -o VAR.

You can set a character string of 1 to 1,023 bytes in each output variable. A maximum of 32 output variables can be specified.

env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";

The value of this parameter is fixed.

env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";

The value of this parameter is fixed.

env="AJS2SO_RE_output-variable-1=regular-expression-1";[env="AJS2SO_RE_output-variable-2=regular-expression-2";...]

Define a regular expression for each of the output variables you specified in prm. In output-variable-x, specify the same value as specified in output-variable-x in prm.

The results extracted by the regular expressions you specify here are set as the values of the macro variables corresponding to the output variables.

wth=n;

Define the threshold for the end with warning. You can set 0 to 2,147,483,647.

tho=n;

Define the threshold for the abnormal end.

You can set 0 to 2,147,483,647. The default is 0.

mm={and|or};

Define the wait method with respect to the specified units whose ends are being waited for.

The default is and.

  • and: Start executing at completion of all units whose ends are being waited for.

  • or: Start executing at completion of one of the units whose ends are being waited for.

nmg={y|n};

Define the behavior when there are no generations of the root jobnet for the specified unit whose end is being waited for.

The default is n.

  • y: Start executing.

  • n: Do not start executing.

eun=name-of-the-unit-whose-end-is-being-waited-for;

Define the full-path name of a unit whose end is being waited for.

To specify multiple units, repeat the parameter. You can specify a maximum of 32 units.

You can use a character string of 1 to 930 bytes as the unit name.

ega={exec|execdeffer|none};

Specify the behavior when a jobnet with start conditions is specified as the jobnet whose end is being waited for and the execution generation ends abnormally.

If you omit this option, the system assumes none.

  • exec: Start executing.

  • execdeffer: Do not start executing. However, if the execution generation is in the Skipped so not exe. status, start executing.

  • none: Do not start executing.

uem={y|n};

Specify the behavior when a jobnet with start conditions is specified as the jobnet whose end is being waited for and the monitoring generation is in the Unmonitored + Ended status.

If you omit this option, the system assumes n.

  • y: Start executing.

  • n: Do not start executing.