2.1.7 Outputting the contents of the job execution log by job type
What is output to the job execution log depends on the type of job that is executed, as described in the following subsections.
- Organization of this subsection
(1) Destination and output contents of the job execution log when root jobs are executed
This subsection explains the destination and output contents of the job execution log when root jobs are executed in expansion output mode or minimum output mode (specified in the OUTPUT_MODE_ROOT parameter).
(a) When the expansion output mode is selected
The following table describes the output contents of the job execution log when the expansion output mode is selected:
Message output destination |
Description |
---|---|
JOBLOG |
Output to spool files. |
Script image |
Output to spool files. |
Destination of the standard output |
Output to the destination specified by either of the following methods:
|
Destination of the standard error output |
Output to spool files. |
A spool job directory is created for each job.
After job execution, the contents of the job execution log, excluding the contents for the standard output, are output to the standard error output.
(b) When the minimum output mode is selected
The following table describes the output contents of the job execution log when the minimum output mode is selected:
Message output destination |
Description |
---|---|
JOBLOG |
Messages that are not subject to output suppression are output to spool files. Output of some messages is suppressed in the minimum output mode. For details regarding messages that are suppressed, see Contents of output of job execution log for each job in JP1/Advanced Shell. |
Script image |
|
Destination of the standard output |
Not output to spool files. This information is output to the destination in effect when the process started. Messages that are not subject to the suppression of the standard error output and the standard output are output. Also, messages for JOBLOG that are not subject to output suppression are output to the standard error output. |
Destination of the standard error output |
Note that the job execution log is not output to the standard error output when the job terminates.
(2) Destination and output contents of the job execution log when child jobs are executed
The output destination and the output contents of the job execution log when executing the child jobs are separately described for each the expansion output mode and the minimum output mode (specified with the OUTPUT_MODE_CHILD parameter). This command indicates the output contents when the spool job of the child job is being merged into the spool job of the root job. For details regarding output contents when deleting the spool job of a child job, see Contents of output of job execution log for each job in JP1/Advanced Shell.
(a) When the expansion output mode is selected
The following table describes the output contents of the job execution log when the expansion output mode is selected:
Message output destination |
Description |
---|---|
JOBLOG |
The child job is temporarily output to the file in the spool. JOBLOG of the child job is merged into JOBLOG of root job when the child job finishes. The symbol indicating the start of output ">>>>>> [JOBLOG] path-name" and the symbol indicating the end of output "<<<<<< [JOBLOG] path-name" are output before and after JOBLOG of the child job. |
Script image |
The child job is temporarily output to the file in the spool. The script image of the child job is merged into the script image of the root job when the child job finishes. |
Destination of the standard output |
Output to the destination in effect when the process started. |
Destination of the standard error output |
Output to the destination in effect when the process started. The symbol indicating the start of output ">>>>>> [STDERR] path-name" and the symbol indicating the end of output "<<<<<< [STDERR] path-name" are output before and after the standard error output of a child job. |
A spool job directory of the child job is created while a job is being executed, but the directory is deleted after the job is executed.
In addition, the following header lines are not merged.
--------------------------------------------------------------- Advanced Shell version-number [Information] Job ID : job-ID Spool directory : spool-job-directory-path Date : execution-date EnvFile(system) : environment-file-path (System environment file) EnvFile(job) : environment-file-path (Job environment file) Host name : host-name [Environment variable from Automatic Job Management System] environment-variables-passed-from-JP1/AJS --------------------------------------------------------------- ******** JOB CONTROLLER MESSAGE ********
(b) When the minimum output mode is selected
The following table describes the output destination of the job execution log when the minimum output mode is selected:
Message output destination |
Description |
---|---|
JOBLOG |
Messages that are not subject to the suppression are temporarily output to the file in the spool of the child job. When a message is output, JOBLOG of the child job is merged into JOBLOG of the root job and symbols indicating the start of the output of JOBLOG ">>>>>> [JOBLOG] path name" and symbols indicating the end of output "<<<<<< [JOBLOG] path name" are output before and after JOBLOG of the child job. If no messages have been output, JOBLOG of the child job is not merged into JOBLOG of the root job. Output of some messages is suppressed in the minimum output mode. For details regarding messages that are suppressed, see Contents of output of job execution log for each job in JP1/Advanced Shell. |
Script image |
Although messages are temporarily output to a file in the spool, these messages are not merged into the script image of the root job. |
Destination of the standard output |
Output to the destination in effect when the process started. This command outputs messages that are not subject to suppression of the output for the standard output. Messages whose output is suppressed are not output. |
Destination of the standard error output |
Output to the destination in effect when the process started. This command outputs messages that are not subject to suppression of the output for the standard error output. In addition, this command outputs messages that are not subject to suppression of the output of JOBLOG. Messages whose output is suppressed are not output. |
Although a spool job directory of the child job is created, this directory will be deleted after executing the job.