How to solve S122 abend?

Mainframe Application Testing, Offline testing and Tools. Xpediter, IBM Debugger.
Previous topicNext topic

Topic Author
New Member
Posts: 6
Joined: Wed Jun 18, 2014 3:40 pm

How to solve S122 abend?

Post by Shwetang » Tue Jan 20, 2015 4:42 pm


I'm getting this error:

Code: Select all

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: 1376
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: How to solve S122 abend?

Post by Robert Sample » Tue Jan 20, 2015 5:22 pm

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



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.

Previous topicNext topic

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