Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


5.8.9 Job cancellation by the standard shell commands

When a standard shell command is executed, job execution might be canceled depending on the type of standard shell command and the execution result of the standard shell command. If this happens, the KNAX6584-I message is issued and the subsequent job steps and job definition scripts are not executed. Also, the job steps whose run attribute is bnormal or always are not executed.

In this case, the specification of the #-adsh_rc_ignore command and the successRC attribute of the #-adsh_step_start command do not take effect on the executed commands.

Organization of this subsection

(1) Executing a command that immediately terminates a job definition script

If a standard shell command that immediately terminates a job definition script is executed, job execution is canceled. The following commands immediately terminate a job definition script:

#

A job definition script is not terminated in the following cases:

  • The command was executed within a function.

  • The command was executed within an external script.

(2) Unresumable errors

If a standard shell command is executed, an error (such as a syntax error) that disables operation of the job definition script itself might occur. If this happens, job execution is canceled. Syntax errors occur in the following cases:

#

Job execution is not cancelled in the following cases:

  • The command was executed within a function.

  • The command was executed within an external script.