Display the job log

The way to display a job log depends on the status of the job.

To display the job log of your own interactive job, do one of the following:

When you use the Display Job Log (DSPJOBLOG) command, you see the Job Log display. This display shows program names with special symbols, as follows:

>>
The running command or the next command to be run. For example, if a program was called, the call to the program is shown.
>
The command has completed processing.
. .
The command has not yet been processed.
?
Reply message. This symbol marks both those messages needing a reply and those that have been answered.

On the Job Log display, you can do the following:

You may use the DSPJOBLOG command to direct the job to a database file instead of having it printed or displayed. There are two options available. In the first option, you may specify a file and member name on the command. In this option, the primary job log information is written to the database file specified on the command. In the second option you may use the command in conjunction with the information provided on the QMHCTLJL API which was run previously. In this option, the job log is written to the file(s) specified on the API call. With this option, both primary and secondary files can be produced and message filtering can be performed as the messages are written to the file. With both these options, when the DSPJOBLOG command completes, the output will not be displayed nor will there be a spooled file available for printing.

Related information
Job log pending