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

S222 Abend in a very huge program


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

New User


Joined: 12 Jan 2007
Posts: 18
Location: Pune (India)

PostPosted: Tue May 19, 2009 1:34 pm
Reply with quote

Hi,

I am facing the S222 abend in very huge program. The TS team said that they have had a looping also, they have mentioned account number to be removed from the file in order to avoid the looping and ran the job second time which went fine.

When I ran a stand alone set up with the back up file, it runs smooth.

What would be the possible cause???
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 19, 2009 1:37 pm
Reply with quote

did You care to look at the manual for the meaning of the s222 abend icon_evil.gif
I did it for You

Quote:
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.


nothing we can do from here, follow the advice given in the manual
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue May 19, 2009 1:48 pm
Reply with quote

Or search the Forum, this issue is been discussed many times here:

www.ibmmainframes.com/viewtopic.php?t=39178&highlight=s222
www.ibmmainframes.com/viewtopic.php?t=34020&highlight=s222
www.ibmmainframes.com/viewtopic.php?t=16726&highlight=s222
www.ibmmainframes.com/viewtopic.php?t=1953&highlight=s222

By the way, have you tried talking to the operators to find out why the job was canceled? Unlike an S322 (for example), an S222 means someone physically killed your job.
Back to top
View user's profile Send private message
dilipbiradar

New User


Joined: 12 Jan 2007
Posts: 18
Location: Pune (India)

PostPosted: Tue May 19, 2009 2:17 pm
Reply with quote

According to the tester/TS team member, the job went in loop (And they might have requested the CANCEL JOB to Operator, but I am not sure) The thing which I want to know here is why the same job is not going in loop when I am doing the stand alone testing?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 19, 2009 2:26 pm
Reply with quote

If You trust more Your TS team, why ask a forum icon_evil.gif

everything You said is just pure speculation...

You got an S222 abend??
it means that the operator or an authorized TSO user canceled the job full stop

the reason why in the test environment the job executed successfully could be basically...
for the loop theory - difference in the data processed
for a non loop theory -difference in the data volume being processed
( the huge amount of data made the program appear to be looping )
Back to top
View user's profile Send private message
dilipbiradar

New User


Joined: 12 Jan 2007
Posts: 18
Location: Pune (India)

PostPosted: Tue May 19, 2009 2:27 pm
Reply with quote

Why you are so angry sir? I am a new chap in this field. Please forgive me !!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 19, 2009 2:43 pm
Reply with quote

I am not angry I am just trying to make You understand what is going on?

a program got canceled by the operator
ask the operator why he/she took that decision

debugging can be carried on only with a methodology, not listening to rumors,
he said that he heard that somebody had possibly done ...

for example "removing account number" from where ?? jcl??
submitted to a different class, maybe ??
different job classes might be granted different time limits,
but then You wouldn' t have gotten a s222 but a s322

what kind of loop...
strict ( no i/o involved )
... memory corruption for array limits
wide ( i/o involved )
more difficult to debug, ( cpu is used, I/O is done, same behavior as when processing lots of data )

again investigate how the data being processed differs in the different environments
Back to top
View user's profile Send private message
dilipbiradar

New User


Joined: 12 Jan 2007
Posts: 18
Location: Pune (India)

PostPosted: Tue May 19, 2009 2:51 pm
Reply with quote

Just thought of asking you what is RTFM and STFW ??
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: Tue May 19, 2009 3:11 pm
Reply with quote

Google is your friend -- both terms are easily found in Google.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue May 19, 2009 3:55 pm
Reply with quote

Read The Fine Manual", "Read The Friendly Manual", "Read The Full Manual", or "Read The Field Manual" -- if this abbreviation has other meanings... I dont' know them . . . icon_razz.gif
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu May 21, 2009 12:27 pm
Reply with quote

RTFM - Refer the forum manuals

STFW - Search the forum well

This is again my guess !
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu May 21, 2009 12:31 pm
Reply with quote

en.wikipedia.org/wiki/RTFM

looks like nobody cared to STFW icon_biggrin.gif icon_biggrin.gif icon_biggrin.gif

in a family forum substitute Friendly for F*****g
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 Using API Gateway from CICS program CICS 0
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top