View previous topic :: View next topic |
Author |
Message |
Karthik1980 Beginner
Joined: 03 Jul 2017 Posts: 2 Topics: 1
|
Posted: Tue Jul 04, 2017 8:14 am Post subject: IMS ADF II - ROLLBACK abends with U0778 |
|
|
HI Friends,
I am new to IMS ADF II. I am working on changing an existing AEXIT routine in IMS ADF. I am trying to give an ROLB call in the AEXIT routine that is called from the ADF AUDIT module. The ROLB call succeeds in the AEXIT routine with blank status code, but when the control returns to the Transaction driver program it abends with U0778. I could see that U0778 abend code is an for ROLLBACK call, but the ROLB call succeeds in AEXIT routine not sure why it failing in Transaction program.
ROLB call sample used in AEXIT
CALL PLITDLI(TWO, ROLB,IOPCB)
Could any of you help me in solving this issue.
Thanks
Karthik |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
Karthik1980 Beginner
Joined: 03 Jul 2017 Posts: 2 Topics: 1
|
Posted: Tue Jul 04, 2017 1:09 pm Post subject: IMS ADF II - ROLLBACK abends with U0778 |
|
|
Hi Kolusu,
Thanks for your reply. The information in the links you have shared are very useful. I have gone through them. In my code I have given the ROLB call only not the ROLL call. But not sure why it abends with U0778, when the control leaves the AEXIT routine and reaches the transaction driver program, even though the ROLB call succeeds in the AEXIT Routine.
Thanks
Karthik |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Tue Jul 04, 2017 5:50 pm Post subject: Re: IMS ADF II - ROLLBACK abends with U0778 |
|
|
Karthik1980 wrote: | Hi Kolusu,
Thanks for your reply. The information in the links you have shared are very useful. I have gone through them. In my code I have given the ROLB call only not the ROLL call. But not sure why it abends with U0778, when the control leaves the AEXIT routine and reaches the transaction driver program, even though the ROLB call succeeds in the AEXIT Routine.
Thanks
Karthik |
Looks like your Main transaction is still active and it is causing the ROLLBACK to fail. So When you Leave AEXIT, do not go back to the active transaction but go back to IMS, there by ending the transaction. _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|