Page 1 of 1

How to solve S122 abend?

Posted: Tue Jan 20, 2015 4:42 pm
by Shwetang
Hi,

I'm getting this error:

Code: Select all

ESTIMATED LINES EXCEEDED 
ESTIMATE EXCEEDED BY 450,000 LINES
and it's abending with S122.

What can be the reason for the S122 abend with above message?

Re: How to solve S122 abend?

Posted: Tue Jan 20, 2015 5:22 pm
by Robert Sample
You resolve the S122 abend the same way you resolve any abend -- look up the messages in the appropriate Messages and Codes manual, determine what they tell you about what your job did, and proceed to correct the issue. If you had looked up the S122 in the System Codes manual, you would have found
2.226 122


__________________________________________________________________________

122


Explanation: The operator canceled the job and requested a dump. System Action: The system ends the job. The system writes a dump to the data set described by the SYSABEND, SYSMDUMP or SYSUDUMP DD statement in the canceled job step. Application Programmer Response: Find out why the operator canceled the job. Correct the error(s). Resubmit the job. Source: Master scheduler
So you might want to proceed by determining why the operator canceled the job. Most likely the job was canceled because the job was using up all the spool space, which is NOT a good thing. However, you need to contact your site support group to verify the reason the job was canceled -- nobody on this forum can possibly tell you that; only someone working AT YOUR SITE could.