Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Abend S222 U0000

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
baljinders

New User


Joined: 21 Aug 2006
Posts: 72

PostPosted: Thu Apr 15, 2010 8:38 am    Post subject: Abend S222 U0000
Reply with quote

Hi Everyone,

Any suggestions for the below issue,

My program is getting s222 abend after writing 500 records. The input file has close to 3 million records. The program reads the input file , perform some matching process with another file and produces an output file. The job is running for more than 2 hours before it abends.

I have tried giving TIME=1440 in the job card, but to no avail. I have also ran the job using different job classes. result is still the same. It abends after writing 500 records to the ouput file.
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Apr 15, 2010 8:47 am    Post subject:
Reply with quote

Hi,

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

In other words, your job was cancelled.

Check the log to see who issued the cancel command.

This could be site specific, ie. an exit might be in place because you are violating some local rule and hence the job is cancelled.

Check with your support people.


Gerry
Back to top
View user's profile Send private message
baljinders

New User


Joined: 21 Aug 2006
Posts: 72

PostPosted: Thu Apr 15, 2010 9:08 am    Post subject:
Reply with quote

Thanks Gcicchet,

I Knew the job got cancelled but why it was getting cancelled was not clear to me. So i tried different options to get it work but nothing worked. As per your advice, i'll check with the support people and get back to you.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Apr 15, 2010 9:11 am    Post subject:
Reply with quote

Hello,

Quote:
I have tried giving TIME=1440 in the job card, but to no avail.
NEVER specify TIME=1440. . . icon_sad.gif

When testing, this is not appropriate. In the few cases where this is used (CICS regions, database, etc) this is used but not for some developer. . .

As Gerry mentioned, you need to check with your support people. Suggest you not continue to flail away until you have learned why the job was canceled and corrected the problem.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Thu Apr 15, 2010 12:05 pm    Post subject: Reply to: Abend S222 U0000
Reply with quote

Quote:
why it was getting cancelled was not clear to me


the cancel operation is done by :
1) a human being
2) some automation as consequence of ...

so ..
1) find the human being and ask him/her
2) ask Your support for clarification

unlikely You will get any answer from people outside Your organization
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Apr 15, 2010 12:16 pm    Post subject:
Reply with quote

Quote:
It abends after writing 500 records to the ouput file


sounds as if the program has a loop / bug that is encountered at or around the 500th output record and then loops until the 222 is issued.

what is the basis of an output record? at what point do you output at record?
Back to top
View user's profile Send private message
baljinders

New User


Joined: 21 Aug 2006
Posts: 72

PostPosted: Sat Apr 17, 2010 3:11 am    Post subject:
Reply with quote

Thanks everyone. The program ran fine.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sat Apr 17, 2010 3:25 am    Post subject: Reply to: Abend S222 U0000
Reply with quote

Quote:
Thanks everyone. The program ran fine.


Well, ahh, uhh you're welcome. . . Good to hear it is working icon_smile.gif

What was changed to get the program to "run fine"?

d
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Sun Apr 18, 2010 8:52 pm    Post subject: Reply to: Abend S222 U0000
Reply with quote

Quote:
What was changed to get the program to "run fine"?

nobody canceled it icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts S213-14 ABEND explantion Apurva Mehta JCL & VSAM 5 Thu Jul 07, 2016 10:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us