7.3.8 CMDRC_CMDGRP_CHECK parameter (determines an error of job and job step according to the return code of the function)
Syntax
#-adsh_conf CMDRC_CMDGRP_CHECK {FUNCTION|NONE}
Description
This parameter defines whether an error of job and job step is determined according to the return code of the function.
Operands
- FUNCTION
-
An error of job and job step is determined according to the return code of the function and an error of job and job step is not determined according to the return code of the command in the function. You can change the threshold of the return code of the function by using the CMDRC_THRESHOLD_DEFINE parameter, the #-adsh_rc_ignore command, the adshcmdrc command, and the -successRC attribute of #-adsh_step_start command.
- NONE
-
An error of the job and job step to which the function is defined is determined according to the return code of the command in the function. Determining error of job and job step according to the return code of the function is not executed.
Notes
-
If you specify this parameter for both the system environment file and job environment file, definition of the job environment file is enabled.
-
If you specify Function for the operand, the message of the command in the function is not output.
-
The action of the trap command that is executed after receiving the signal or forced termination request while the function is being executed is considered to be executed in the function. The action of the trap command that is executed in the function becomes the target of change of error judgment for job and job step according to the value of operand.
-
Even when the command that is executed in the background while the function is being executed is executed in the function, this command is not recognized as the command in the function.