Hi,
I’m writing an application in WebSphere and need to integrate it with business logic on a legacy mainframe with Natural/Adabas. The business logic also performs writes to the Adabas database.
The Natural code contains many internal commits (ETs) in various routines during the business logic process (There are hundreads of such ETs along the process sub programs).
My questions are:
-
Is there a way to wrap all these internal Natural transactions with an external transaction such that if I BT the external transaction - all inner transactions will be rolled back - i.e. are nested transactions (as defined for example in Oracle) supported? if so - how to do it?
-
In this scenario (many ETs in Natural code) - and assuming nested transactions are not supported - is there still a way to do two phase commit such that if commit on the WebSphere failes (after calling the MF and returning succesfully) would rollback the MF Adabas writes?
-
Are there any external frameworks / products that relate to this problem you can recommend?
Thanks,
Michael