View previous topic :: View next topic
|
Author |
Message |
satya12
New User
Joined: 25 Apr 2006 Posts: 32 Location: India
|
|
|
|
Hi,
I am calling ILBOABN0 with abend code +777.I have declared the abend code variable as S9(04) comp-3.But when the program abends, it is showing the COMP CODE=U0119 and RC=119.
What i need to do if i wan to get COMP CODE=U0777 and RC=777.
Thanks,
Satya. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
I have declared the abend code variable as S9(04) comp-3. |
are you sure that the variable should be Packed-Decimal and not Binary? |
|
Back to top |
|
|
Mathiv Anan
Active User
Joined: 23 Jul 2008 Posts: 106 Location: USA
|
|
|
|
Yes Dick.
It should be COMP variable. |
|
Back to top |
|
|
satya12
New User
Joined: 25 Apr 2006 Posts: 32 Location: India
|
|
|
|
You are right.It should be S9(04) comp not comp-3.
Thanks,
Satya. |
|
Back to top |
|
|
neontech Warnings : 1 New User
Joined: 08 Dec 2009 Posts: 11 Location: mumbai
|
|
|
|
can you paste the piece of code which you are executing.. it should throw you correct abend code |
|
Back to top |
|
|
neontech Warnings : 1 New User
Joined: 08 Dec 2009 Posts: 11 Location: mumbai
|
|
|
|
Just make sure that you pass the correct return code to the jcl..
something mentioned below:
IF match *
MOVE 717 TO RETURN-CODE
ELSE
MOVE 100 TO RETURN-CODE
this will work for sure... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
You are right.It should be S9(04) comp not comp-3.
|
|
|
Back to top |
|
|
neontech Warnings : 1 New User
Joined: 08 Dec 2009 Posts: 11 Location: mumbai
|
|
|
|
Anuj,, what is quote? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
It tells what was the final solution worked for the OP.(Origianl Poster) |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
neontech,
if you are referring to BBcode (or modified markup code) this link will explain. |
|
Back to top |
|
|
|