Scheduling the Email Report Server/400 Output Queue Monitor to Run Automatically until a specified time - Support

Scheduling the Email Report Server/400 Output Queue Monitor to Run Automatically until a specified time

From Support

Jump to: navigation, search

You can use the AS/400 job scheduler or any other job scheduler to submit the Output Queue monitor to batch. Here's the AS/400 job scheduler command to work with the job scheduler: WRKJOBSCDE

Here's a sample CL command to submit the output queue monitor job to batch to end at 10:00pm : SBMJOB CMD(RJSERS/ERSMON DELAY(*DELAY) DLYTIM(300) ENDTIME(220000)) JOB(EMRPT400) JOBMSGQFL(*WRAP)

The JOBMSGQFL parameter for the SBMJOB command insures the job won't crash if the job message queue fills up. Every AS/400 job has a job message maximum size of 16MB.

You can specify 000000 for the end time if you want the Email Report Server monitor to run without ending.

Personal tools