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

Abend S222 U0000


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Thu Apr 15, 2010 8:47 am
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
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

Moderator Emeritus


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

PostPosted: Thu Apr 15, 2010 9:11 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Apr 15, 2010 12:05 pm
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
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
Reply with quote

Thanks everyone. The program ran fine.
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: Sat Apr 17, 2010 3:25 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Apr 18, 2010 8:52 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top