You can use the iSeries job scheduler or any other job scheduler to submit the output queue monitor to batch. To work with the iSeries job scheduler, use the WRKJOBSCDE command.
 
For example: To submit the output queue monitor job to batch to end at 10:00 p.m., use:
 
SBMJOB CMD(RJSDOM/NTSMON DELAY(*DELAY) DLYTIM(300) ENDTIME(220000)) JOB(DMRPT400) JOBMSGQFL(*WRAP)
 
Note: The JOBMSGQFL parameter prevents the job from crashing if the job message queue fills up. Every iSeries job has a job message maximum size of 16MB.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016