Problem:

Email Report Server/400 Output Queue Monitor is ending immediately after the ERSMON command is submitted to batch. 
 
The following information displays in the job log:
 
5722SS1 V5R1M0 010525                           Job Log                             S10571ZM 11/29/04 17:45:36          Page    1

Job name . . . . . . . . . . :   EMRPT400        User  . . . . . . :   DICK         Number . . . . . . . . . . . :   066813
Job description  . . . . . . :   DICK            Library . . . . . :   QGPL

MSGID      TYPE                    SEV   DATE       TIME       FROM PGM       LIBRARY     INST     TO PGM       LIBRARY      INST 

CPF1124    Information             00    11/29/04   17:45:36   QWTPIIPP       QSYS        067E     *EXT                      *N
                                Message . . . . :   Job 066813/DICK/EMRPT400 started on 11/29/04 at 17:45:36
                                  in subsystem QSYSWRK in QSYS. Job entered system on 11/29/04 at 17:45:36.
CPI1125    Information             00    11/29/04   17:45:36   QWTPIIPP       QSYS        02DC     *EXT                      *N
                                Message . . . . :   Job 066813/DICK/EMRPT400 submitted.
*NONE      Request                       11/29/04   17:45:36   QWTSCSBJ                   *N       QCMD         QSYS         0173
                                Message . . . . :  -RJSERS/ERSMON DELAY(*DELAY) ENDTIME(190000)
CPF9898    Information             40    11/29/04   17:45:36   ERSMONC2       RJSERS      008F     ERSMON001    RJSERS       *STMT
                                To module . . . . . . . . . :   ERSMON001
                                To procedure  . . . . . . . :   ERSMON001
                                Statement . . . . . . . . . :   1655
                                Message . . . . :   Mailing spool FILE(IFSFILETST) JOB(000681/DICK/QPRTJOB)
                                  SPLNBR(01697) to IFSFILE:/NATHAN/NATHAN.PDF~MAILTO:SUPPORT@RJSSOFT.COM~.
CPC0904    Completion              00    11/29/04   17:45:36   QWCCCRVC       QSYS        0081     MAILSPLFC    RJSERS       0052
                                Message . . . . :   Data area MAILRTN created in library QTEMP.
CEE0200    Information             10    11/29/04   17:45:36   QLEAWI         QSYS        *STMT    CHKOBJIFSR   RJSERS       *STMT
                                From module . . . . . . . . :   QLEPM
                                From procedure  . . . . . . :   Q LE leBdyEpilog
                                Statement . . . . . . . . . :   1060
                                To module . . . . . . . . . :   CHKOBJIFSR
                                To procedure  . . . . . . . :   _QRNP_PEP_CHKOBJIFSR
                                Statement . . . . . . . . . :   *N
                                Message . . . . :   This job is about to end.
CEE0200    Information             10    11/29/04   17:45:36   QLEAWI         QSYS        *STMT    CHKOBJIFSR   RJSERS       *STMT
                                From module . . . . . . . . :   QLEPM
                                From procedure  . . . . . . :   Q LE leBdyEpilog
                                Statement . . . . . . . . . :   1060
                                To module . . . . . . . . . :   CHKOBJIFSR
                                To procedure  . . . . . . . :   _QRNP_PEP_CHKOBJIFSR
                                Statement . . . . . . . . . :   *N
                                Message . . . . :   This job is about to end.
CPC2191    Completion              00    11/29/04   17:45:36   QLIDLOBJ       QSYS        0448     QLICLLIB     QSYS         02B7
                                Message . . . . :   Object ERSMONUSPC in QTEMP type *USRSPC deleted.
CPC2191    Completion              00    11/29/04   17:45:36   QLIDLOBJ       QSYS        0448     QLICLLIB     QSYS         02B7
                                Message . . . . :   Object MAILRTN in QTEMP type *DTAARA deleted.
CPF1164    Completion              00    11/29/04   17:45:36   QWTMCEOJ       QSYS        00BB     *EXT                      *N
                                Message . . . . :   Job 066813/DICK/EMRPT400 ended on 11/29/04 at 17:45:36; 1
                                  seconds used; end code 0 .

Solution:

In V5R1 and above, there is a new parameter in a user's job description called Allow multiple threads. For all users who run iSeries commands or jobs in batch, set Allow multiple threads to *NO.
 

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

Last Modified On: December 10, 2016