IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

S222 error due to excessive EXCP count?


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramangouda patil

New User


Joined: 09 Apr 2008
Posts: 39
Location: India

PostPosted: Wed Mar 25, 2009 6:52 pm
Reply with quote

Hi all,
I get an S222 abend for steps with an unusually high EXCP count,.Have tried increasing the blksze for those steps,but hasnt helped.
What else can i try ? ( including REGION parameter? )
Thanks!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 25, 2009 6:57 pm
Reply with quote

EXCP is dependant on the amount of I/O being processed.

Take a look at the program and see if it can be reduced.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Mar 25, 2009 7:11 pm
Reply with quote

Have you tried talking to the operators to find out why the job was canceled? Unlike an S522 (for example), an S222 means someone physically killed your job.

Also, what's the DD statements look like -- do you have buffers specified for the file(s) involved?
Back to top
View user's profile Send private message
ramangouda patil

New User


Joined: 09 Apr 2008
Posts: 39
Location: India

PostPosted: Wed Mar 25, 2009 8:45 pm
Reply with quote

expat wrote:
EXCP is dependant on the amount of I/O being processed.

Take a look at the program and see if it can be reduced.

There isnt much scope for program changes. Will increasing blksz help ?

Quote:
an S222 means someone physically killed your job.

I checked out this.Its being cancelled by the system itself.
Also I am creating temp files(table dumps). These are big files.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Mar 25, 2009 8:57 pm
Reply with quote

are there not different JOB CLASSes in your system?

you received the s222 because the job class limitations,
the class that you used in your job,
have been exceeded.

Find a job class that allows for more time.
Back to top
View user's profile Send private message
ramangouda patil

New User


Joined: 09 Apr 2008
Posts: 39
Location: India

PostPosted: Wed Mar 25, 2009 9:17 pm
Reply with quote

Quote:
Find a job class that allows for more time.

I am afraid this isnt possible as well. We run this in production class,thus this is ruled out. icon_sad.gif
Back to top
View user's profile Send private message
senthilnathanj

New User


Joined: 31 Jul 2007
Posts: 47
Location: chennai

PostPosted: Wed Mar 25, 2009 9:23 pm
Reply with quote

hi,
S222 means the operator, or an authorized time sharing option
extensions (TSO/E) user, canceled the job without requesting a dump.

Find out why the operator or TSO/E user canceled the job. Correct any errors and resubmit the job. If you want a dump, have the operator resubmit the job and then cancel it using the command CANCEL jobname, DUMP.
you must specify the region size as REGION=1M and resubmit the job.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Mar 25, 2009 9:26 pm
Reply with quote

System Abend :
222

Explanation:
The operator, or an authorized time sharing option extensions (TSO/E) user, canceled the job without requesting a dump.

Source:
Master scheduler

System Action:
The system ends the job. In some cases, the system
might write a dump even though a dump was not requested, depending on which system routine has control.

Programmer Response:
Find out why the operator or TSO/E user canceled the job. Correct any errors and resubmit the job. If you want a dump, have the operator resubmit the job and then cancel it using the command CANCEL jobname, DUMP.

P.S.
speak to Your support
I have seen places where some automation issued system commands
to fix what was believed to be an abnormal situations (
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 25, 2009 9:30 pm
Reply with quote

Hi,

For a similar discussion check this link: www.ibmmainframes.com/about16726-0-asc-15.html
Back to top
View user's profile Send private message
ramangouda patil

New User


Joined: 09 Apr 2008
Posts: 39
Location: India

PostPosted: Mon Mar 30, 2009 7:28 pm
Reply with quote

Hi all,
Thanks to your suggestions!
increased the blocksize to BLKSIZE = INT(27998/LRECL) * LRECL. Also made changes the spool consumption for the job. Cant say which change rectified it. icon_confused.gif
Thanks all!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 30, 2009 10:06 pm
Reply with quote

Hello,

Quote:
Cant say which change rectified it.
Did you determine what caused the s222?

If not, it may not be completely fixed. If it was an operator, that operator may not have seen the re-run or may not have been working when the re-run was successful.

If some automated function issued the s222, hopefully the changes have resolved the issue icon_wink.gif
Back to top
View user's profile Send private message
ramangouda patil

New User


Joined: 09 Apr 2008
Posts: 39
Location: India

PostPosted: Thu Apr 02, 2009 9:33 pm
Reply with quote

Quote:
If some automated function issued the s222, hopefully the changes have resolved the issue

Yup!
The changes solved the problem icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 02, 2009 10:24 pm
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts To get the count of rows for every 1 ... DB2 3
No new posts Error when install DB2 DB2 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top