The EVJRNDONE is a standalone program to monitor for the completion of all EVJRNPROC journal monitoring jobs under the EVSBS subsystem. When called, EVJRNDONE will remain active until all journal jobs have completed active processing (that is, until the last sequence number processed by the EVJRNPROC matches the last sequence number of the currently monitored journal), and that all desired journal entries have been forwarded from the iSeries agent to the server. If all processing has not been concluded by the specified time, a CPF9898 error message is returned.
Call syntax from the iSeries command line or within a CLP script:
CALL EVIEW/EVJRNDONE [PARM('intervals')]
where:
intervals
Number of 30 second intervals to wait for processing to finish before returning the error message
Default is 10 intervals (for a total wait time of 300 seconds). Example call:
Wait for 60 seconds to allow journal processing and message deliveries to complete:
CALL PGM(EVIEW/EVJRNDONE) PARM('2')