Adding RPTMON command to the AS/400 Job Scheduler
From Support
Listed below are the steps to add the AS/400 Report Splitter output queue monitor to the AS/400 job scheduler:
1.) Go to the AS/400 job scheduler by typing WRKJOBSCDE from the AS/400 command line.
2.) To create a new job scheduler entry, press F6.
3.) On the Add Job Schedule Entry (ADDJOBSCDE) screen, enter the following parameters:
Job Name: RPTMON
Command to run: SBMJOB CMD(RJSSPLIT/RPTMON OUTQ(QGPL/INPUTOUTQ) SPLFOPT(*MARK) DELAY(*DELAY) DLYTIM(300)) JOB(RPTMON) JOBQ(QSYSNOMAX) LOG(4 0 *NOLIST) LOGCLPGM(*YES)
- Note: the above example command is a sample which reads an output queue called INPUTOUTQ and processes reports every 5 minutes. We sent this entry to job queue QSYSNOMAX which is multi-threaded.
- Note: By using the LOG and LOGCLPGM parameters, the above example command will also create a printed job log in the QEZJOBLOG output queue in case job log analysis is needed for problem resolution.
- Warning: Some job queues such as QBATCH are single-threaded and will get backed up until the output queue monitor completes, so using QSYSNOMAX is a good idea unless you need single threading.
Job Frequency: Enter the job scheduling parameters such as: Frequency, Schedule Date, Day, Time, etc...
4.) Press Enter the save the new job scheduler entry.
