I have a Disk maintenance job IXMAINT and it is generating thousands of lines and when it reached the limit of JES2 it abends with S722.
$HASP375 jobname ESTIMATE EXCEEDED BY 740,000
jobname : 10,000 LIGNES D'EXTENSION REFUSEES
$HASP375 jobname ESTIMATE EXCEEDED BY 750,000
IEF450I jobname IXMAINT stepname - ABEND=S722 U0000 REASON=00
There could be multiple reasons for excessive log messages and check the following things to fix the problem.
1. Update IXMAINT JCL to write the MSGPRINT and SYSPRINT outputs to data sets instead of writing to SPOOL.
2. Run the IXMAINT job more frequently, so that it will have less data sets to be processed.
3. Increase JES SPOOL limit for your JCL.
4. Instead of running one IXMAINT for all the data sets, break it into multiple IXMAINT jobs. Modify the command from IXMAINT job to fetch part of the data sets in each of the IXMAINT jobs.