mlp
New User
Joined: 23 Sep 2005 Posts: 91
|
|
|
|
In the batch applications I am working upon currently, there are many user abend instances where some key data validations fail. I observed in the SPOOL that a normal execution of the batch takes lesser time than that of ABENDed case.
Surprisingly, when we issue user abend we are forcibly cutting short the processing logic. Still when it abends it takes more time. Why is that? |
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
someone has to make a decision,
based on business requirements,
when a process has to stop,
and when the invalid input - is to be reported
- and the processing continues with the next input
.
old style was to force a dump when invalid error occurs.
now-a-days,
if a process decides to end- display relevent data to insure that the input can be corrected
- issue a non-zero return code
- issue goback
forcing a dump and a system abend, as you noticed, is very expensive,
as well as useless.
as to your question, why does an abend take more time?
lot of mvs services are called due to the abend. |
|