How to solve S122 abend?

Mainframe Application Testing, Offline testing and Tools. Xpediter, IBM Debugger.
Post Reply
Shwetang
New Member
Posts: 5
Joined: Wed Jun 18, 2014 3:40 pm

How to solve S122 abend?

Post 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?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to solve S122 abend?

Post 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.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Testing Tools, Mainframe Application Testing, Abends Solution & QA.”