This command displays the log for the specified job.
zos log [jobid]
The user must enter the jobid that he or she is interested in. The default for this argument is the last job run.
Specifies the terminal width for formatting. The user must enter a value with this option.
Displays a help message for this operation.
Turns on debug output during this operation.
Turns on verbose output during this operation.
To display the log for the last job, use the following command:
zos log
To display the log for job 3 on the list returned by zos jobs, use the following command:
zos log ^3
To display the log for job id itsajob, use the following command
zos log itsajob