iSeries Navigator
To access the job log for an active job or server job, do the following:
- In iSeries Navigator,
expand My Connections > connection > Work Management > Active Jobs or Server Jobs.
- Right-click a job (for example, Qbatch) and click Job Log. For more information, refer to the help in the Job Log window.
To view more details of a message, right-click a message and click Properties.
The Message Properties window provides detailed message information. This window shows the details of the message as well as the message help. The detailed message help gives you information to solve a problem.
The following list describes additional ways to access job logs:
- Basic Operations > Printer
- Basic Operations > Jobs > Right-click a job > Printer Output
- Work Management > Active Jobs > Right-click a job > Printer Output
- Work Management > Output Queues
- Users and Groups > All Users > Right-click a user > User Objects > Printer Output
Character-based interface
The way to display a job log depends on the status of the job.
- The Work with Job Logs (WRKJOBLOG) command can be used to display pending job logs for completed jobs, all job log spooled files, or both. For example, to display the list of pending job logs for all jobs that have ended use the following command:
WRKJOBLOG JOBLOGSTT(*PENDING)
- If the job is still active (batch or interactive jobs) or is on a job queue and has not yet started, use the Display Job Log (DSPJOBLOG) command.
For example, to display the job log of the interactive job for user JSMITH at display station WS1, use the following command:
DSPJOBLOG JOB(nnnnnn/JSMITH/WS1)
where nnnnnn is the job number.
- If the job has ended and the job log is not yet printed, use the Display Spooled File (DSPSPLF) command. For example, to display the job logs for job number 001293 associated with user FRED at display station WS3, use the following command:
DSPSPLF FILE(QPJOBLOG) JOB(001293/FRED/WS3)
If you do not have enough information to use the above commands, the Work with User Jobs (WRKUSRJOB) command or the Work with Submitted Jobs (WRKSBMJOB) command might be helpful.