Start of change

Job system values: Produce printer output for job log

Specifies how the job log will be produced when a job completes. (QLOGOUTPUT)

Produce printer output for job log, also known as QLOGOUTPUT, is a member of the jobs category of system values. Use this value to specify whether the operating system will create printer output that contains the job log information for a job when it completes. The job log's printer output can contain commands run within the job and their related messages.

This system value setting does not affect printer output for job logs produced when the message queue is full and the job requiredty specifies to print overlaid messages. After a message queue is full, the operating system ignores this system value setting and printer output is automatically created by the job. Messages in the job message queue are written to a spooled file, from which the job log can be printed, unless the Control Job Log Output(QMHCTLJL) API was used in the job to specify that the messages in the job log are to be written to a database file. Changes to this system value take effect immediately for jobs entering the system after the change is made. To learn more, keep reading.

Quick reference
Location In iSeries™ Navigator, select your system, > Configuration and Service > System Values > Jobs > Job Log
Special authority *JOBCTL
Default value Selected and produced by job
Changes take effect Immediately, but does not affect jobs already started
Lockable No

What can I do with this system value?

If this option is selected, printer output for a job log is automatically created. You can use the printer output for auditing purposes and to troubleshoot problems if they occur. In addition, you must specify what creates the printer output of the job log, the job itself (*JOBEND) or the job log server (*JOBLOGSVR).

If this option is not selected (*PND), printer output for a job log is not automatically created. This reduces the amount of processor and storage resources consumed by unnecessary job logs. The pending job log can still be displayed or printer output can be produced at any time after the job has ended by using the Display Job Log (DSPJOBLOG) or Change Job (CHGJOB) commands.

Select one of the following in the Produced by field:

Note: You need to delete job logs and printer output that are no longer needed. By default, pending job logs are removed along with printer output periodically by Operational Assistant. The Remove Pending Job Log (QWTRMVJL) API can also be used to remove pending job logs.

Where can I get more information about this system value?

To learn more, go to the System values: Jobs overview topic. If you are looking for a specific system value or category of system values, try using the system value finder.

End of change