View previous topic :: View next topic
|
Author |
Message |
soundarr
New User
Joined: 17 Jan 2008 Posts: 25 Location: Chennai
|
|
|
|
Dear All,
I try to handle zero divide exception in PL1 and continue with my program logic. Below error handling displays "***0000000***" but then continues to process the statements in ON ERROR and abends the program with SOCB. Can you please suggest how to get back to process the statement after the DIVIDE statement.
Code: |
ON ZERODIVIDE
PUT SKIP(2) EDIT('***0000000***')(A);
ON ERROR BEGIN;
PUT SKIP(1) EDIT('ERROR BEGIN: ')(A);
:
|
Thanks
Soundar |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Do you need 'go to' ? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
He does indeed. |
|
Back to top |
|
|
|