View previous topic :: View next topic
|
Author |
Message |
vignesh babu.ts Currently Banned New User
Joined: 12 Nov 2010 Posts: 8 Location: Chennai
|
|
|
|
Hi All,
Can anyone give some idea how to catch the abend easily and is there any short-cut to find out the error if there is any abend.?
Thanks,
Vignesh.
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Simply look at the output in the spool. Depending on the problem there should be some information in the first or third spooled output file.
If there was an abend, there may also be one or more dump outputs in the spooled output. |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
and forget about the PC world. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
You can use IF/THEN/ENDIF or COND=ONLY to execute a special step in case of abend.
This step can send a message, for example. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
There can not a be general statement for such a question, I believe. You may get a user-abend or a system-abend. One possible thought on this, as Pete points to, can be, to look at the RC of the STEP and then take a decision on whether that RC is in permissible range or not but then what if there were many more steps which were not executed due to abend in 2nd step - how would you make sure that 4th step won't abend on a restart now...
Case is worse if one starts thinking about System-abends...
Why not you start over and tell us, what exactly coined out such a question -- it's something like asking why road accidents happen? How can we stop them - well, you need to do a statistical analysis (all the probable abends) of the area (your shop) for the reasons-causing-accidents (your site-standards, what kind of shop is that, what is available what is not etc.) to come-up with a plan to pretend them in future. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Aaaaaaaah, Anuj, the Jonty Rhodes of street cricket
You should be good at catching |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I'm an all-rounder, expat! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
it might occur more often that the ABEND will catch YOU easily, rather than the other way around |
|
Back to top |
|
|
|