3.4 Job execution log
The purpose of a job execution log is to notify users of the results of executing batch jobs. This log information, excluding the contents for the standard output for user programs, is output to the files under the spool job directory and to the standard error output when a job terminates. You can use JP1/AJS - View, among other methods, to view job execution logs.
The following information is output to the job execution log:
-
Start and end messages for batch jobs
-
Start and end messages for job steps
-
Contents of job definition scripts
-
Results of executing commands
-
Status and postprocessing results of files that have been prepared
-
Standard output from user programs (stdout)#1
-
Standard error output from user programs (stderr)#2
-
Messages related to acquiring coverage information
- #1
-
Output while the job is running to the standard output in effect at the time the job started if either of the conditions listed below is satisfied. This means that after the job has terminated, the execution results are lost and cannot be verified with JP1/AJS - View.
-
The -s option is specified in the adshexec command or PARENT is specified in the OUTPUT_STDOUT parameter in the environment file.
-
The root job is in the simple output mode or the minimum output mode.
-
- #2
-
Not output to the files under the spool job directory if the root job is in the simple output mode or the minimum output mode. However, while the job is running, the user program's standard error output is output to the standard error output in effect at the time the job started.
If you are not using JP1/AJS, refer to the JOBLOG file in the batch job's directory under the spool root directory specified in the SPOOL_DIR parameter in the environment file.
The JOBLOG_SUPPRESS_MSG parameter can be set to suppress output to the JOBLOG file of some information messages. For details, such as the messages whose output can be suppressed, see JOBLOG_SUPPRESS_MSG parameter (defines a message that is not to be output to job execution logs) in 7. Parameters Specified in the Environment Files.