7.3.21 JOBEXECLOG_PRINT parameter (defines the job execution log contents to be output to the standard error output when a job terminates)
Syntax
#-adsh_conf JOBEXECLOG_PRINT {JOBLOG SCRIPT STDERR|STDERR}
Description
This parameter defines the contents of the job execution log that are to be output to the standard error output when a job terminates. The contents defined by this parameter are displayed, for example, on the screen of the terminal from which the adshexec command was executed and in the Execution Result Details dialog box of JP1/AJS - View.
When JP1/Advanced Shell - Developer or the adshexec -d command executes debugging, the contents of the job execution log are not output to the standard error output when the job terminates, regardless of the specification of this parameter.
Operands
- JOBLOG SCRIPT STDERR
Specifies that the following contents are to be output to the standard error output when the job terminates:
JOBLOG contents (messages indicating the job execution status, such as command execution results and file allocation results)
Also includes the JOBLOG contents of child jobs to be output to the standard error output of the root job.
Job definition script
Contents of the standard error output during job execution
- STDERR
Specifies that the only contents to be output to the standard error output when the job terminates are the standard error output during job execution.
In addition to the standard information messages, messages other than those whose message type is I (information messages that are normally output to the JOBLOG file) are also output to the standard error output.
The JOBLOG contents of child jobs to be output to the standard error output of the root job are not output.
Notes
If this parameter is defined in both the system environment file and the job environment file, both definitions take effect.
If any of the following occurs with respect to this parameter in the same environment file, the job controller of JP1/Advanced Shell terminates with an error without executing the job:
This parameter is specified more than once.
No operand is specified.
More than three operands are specified.
An operand other than JOBLOG SCRIPT STDERR or STDERR is specified.
The specification order of the JOBLOG SCRIPT STDERR operand is invalid.
If a job is operating in the simple output mode or the minimum output mode, no job execution log is output to the standard error output regardless of the specification of this parameter.
Example
In this example, only the contents of the standard error output during job execution are output to the standard error output:
#-adsh_conf JOBEXECLOG_PRINT STDERR