As shipped, the job log server runs in QSYSWRK. QSYSWRK is continuously
active. To enhance performance, you might want to reconfigure your job log
server to run in a different subsystem.
To reconfigure the job log server to run in a different subsystem,
use the character-based interface and follow these steps.
- Add a routing entry identical to the one from QSYSWRK to your subsystem
description. This is the routing entry Seq Nbr 500, Program QWCJLSVR,
Library QSYS, Compare Value 'QJOBLOGSVR', Start Pos 1.
- Change the job queue specified in the QJOBLOGSVR job description
to a job queue that is present on your subsystem.
- Add the QJOBLOGAJ autostart job entry (along with a routing entry,
if needed) to your subsystem. This will cause the job log server to automatically
start when your subsystem starts.
- Or if you prefer, you can replace the autostart job entry with a call
to the STRLOGSVR command in the startup program.
- Remove the QJOBLOGAJ autostart job entry from QSYSWRK.
As another example of reconfiguring the job log server, you can use
the Change Class (
CHGCLS) command to change the Run priority
(RUNPTY) specified in the QJOBLOGSVR class (in library QSYS).
CHGCLS CLS(QSYS/QJOBLOGSVR) RUNPTY(50)