View previous topic :: View next topic
|
Author |
Message |
Amit Goswami
New User
Joined: 06 Jul 2005 Posts: 11 Location: India
|
|
|
|
Hi,
I am using following code
CALL pgm-1 USING VAR-1
ON EXCEPTION SET exception-flag to true
END-CALL.
IF exception-flag
<trap the System-code or exception-code>
END-IF.
How can i trap exception conditon or cause there |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
Back to top |
|
|
tushar.zibbu
New User
Joined: 08 Mar 2007 Posts: 6 Location: Assam
|
|
|
|
Hi Amit,
Has your problem been resolved? |
|
Back to top |
|
|
Amit Goswami
New User
Joined: 06 Jul 2005 Posts: 11 Location: India
|
|
|
|
Not yet..
My problem is to return actual cause of exception.
Suppose it is due to SB37, theb how can i send back. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Suppose it is due to SB37, theb how can i send back. |
I suspect that you cannot.
The process will have abended and there will be no "sending back". |
|
Back to top |
|
|
|