IMS ADF II - ROLLBACK abends with U0778
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> IMS

#1: IMS ADF II - ROLLBACK abends with U0778 Author: Karthik1980 PostPosted: Tue Jul 04, 2017 8:14 am
    —
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

#2:  Author: kolusuLocation: San Jose PostPosted: Tue Jul 04, 2017 12:29 pm
    —
Karthik1980,

You might be issuing a ROLL call instead of ROLLB. Check this link for detailed explanation of the abend

https://www.ibm.com/support/knowledgecenter/en/SSEPH2_13.1.0/com.ibm.ims13.doc.msgs/msgs/0778.htm

You also might want to read this which explains how to back out to a prior commit and also explains the difference between the 3 calls (ROLL, ROLB, and ROLS)

https://www.ibm.com/support/knowledgecenter/en/SSEPH2_13.1.0/com.ibm.ims13.doc.apg/ims_backingoutpriorcommit.htm

#3: IMS ADF II - ROLLBACK abends with U0778 Author: Karthik1980 PostPosted: Tue Jul 04, 2017 1:09 pm
    —
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

#4: Re: IMS ADF II - ROLLBACK abends with U0778 Author: kolusuLocation: San Jose PostPosted: Tue Jul 04, 2017 5:50 pm
    —
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.



MVSFORUMS.com -> IMS


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group