OUTPUT_MODE_ROOT parameter (specifies the method for outputting the execution results of a root job)
- Organization of this page
Format
#-adsh_conf OUTPUT_MODE_ROOT {EXTENDED|SIMPLE|MINIMUM}
Description
This parameter specifies one of the following modes for output of the execution results of a root job:
-
Expansion output mode (default)
-
Simple output mode
-
Minimum output mode
By selecting the simple output mode, you can suppress information messages and output only the command execution results, making it easier for other programs to use the job execution results. By selecting the minimum output mode, you suppress output of more messages than when you use the simple output mode.
When a root job is executed with the -m option specified in the adshexec command for starting the root job, the -m option takes precedence over the specification of this parameter.
Operands
- EXTENDED
-
Specifies the extended output mode. Information is output after execution of the root job as follows:
-
Standard output and standard error output are redirected to a file on the spool.
-
The job execution log is output to the standard error output when the job terminates.
-
All messages to be output to the standard error output and the standard output of JP1/Advanced Shell are output.
-
During debugging, JOBLOG is output to the standard error output at suitable times.
-
- SIMPLE
-
Specifies the simple output mode. Information is output after execution of the root job as follows:
-
The job execution log is not output to the standard error output when the job terminates.
-
Standard output and standard error output are output to the destinations that were set when the job was started.
-
Only error messages are output to the standard error output and the standard output of JP1/Advanced Shell. Error messages that are output to JOBLOG are output to the standard error output.
-
During debugging, JOBLOG is not output to the standard error output, except for error messages. All messages to be output to the standard error output and the standard output of JP1/Advanced Shell are output. Messages other than the error messages at the time of debugging termination are output.
-
- MINIMUM
-
Specifies the minimum output mode. Information is output after execution of the root job as follows:
-
No job execution log is output to the standard error output when the job terminates.
-
The standard output and standard error output are output to the destinations that were set when the job was started.
-
Only error messages, excluding notifications of command, job step, and job termination codes, are output to the standard error output and the standard output of JP1/Advanced Shell. Messages notifying receipt of signals and events are also suppressed. Unlike the simple output mode, the suppressed messages are not output to JOBLOG under the spool job directory.
Error messages that are output to JOBLOG are output to the standard error output.
-
During debugging, JOBLOG is not output to the standard error output, except for error messages. All messages to be output to the standard error output and the standard output of JP1/Advanced Shell are output. Messages are not output except for the error messages at the time of debugging termination.
-
Notes
-
If this parameter is defined in both the system environment file and the job environment file, the definition in the job environment file takes effect.
-
When SIMPLE or MINIMUM is specified, the standard output is not redirected to a file on the spool, even if a command is executed with SPOOL specified in the OUTPUT_STDOUT parameter or with adshexec -s SPOOL specified.