View previous topic :: View next topic
|
Author |
Message |
shamus
New User
Joined: 22 Jul 2005 Posts: 7
|
|
|
|
Can an IMS call abend a program without the program calling the ILBOABN0 abend routine?
When looking at various programs in our shop, we have defined return codes from IMS calls as 'fatal' or 'not fatal'. Our 'fatal calls' are anything other than success, not found and end of DB. These usually call the abend module ILBOABN0, however I have come across some programs that do not call this module and I am just wondering would these still abend the program?
Thanks |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Hmmm... I think you are saying that your programs get an IMS return code, then they call ILBOABN0 to force an abend.
Just think for second, and you'll realize that the abend is a separate call, and is NOT happening because of anything IMS did.
So if you have a program that is NOT calling ILBOABN0, then there will not be an abend caused by ILBOABN0. You could still get an abend from some other problem, but ILBOABN0 ain't one of 'em.
I like to call these "controlled" abends, because the program decided to do it. This is in contrast to uncontrolled abends, like a(n) S0C7, or an out-of-space problem. |
|
Back to top |
|
|
shamus
New User
Joined: 22 Jul 2005 Posts: 7
|
|
|
|
thanks for the detailed explanation |
|
Back to top |
|
|
|