View previous topic :: View next topic
|
Author |
Message |
neelesht
New User
Joined: 24 Jul 2006 Posts: 99 Location: Los Angeles
|
|
|
|
Hi All,
I have a CICS / IMS (DB) program (PGM A) which calls CICS / DB2 program (PGM B) 5-6 times in a single transaction.
If a validation error occurs in PGM A it issues cics rollback, which rolls back any IMS ISRT or REPL and we want it to roll back any DB2 Update or Insert which must have happened in PGM B, since the complete transaction is a single unit of work. However it is not happening, any update of PGM A is getting rolled back but not of PGM B.
Could anyone pleae explain what shall I do in order to achieve this. I can not have DB2 and IMS calls in the same program since we do not have an IMS + DB2 Processor group (Endevor).
Thanks
Neelesh |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
As I understand your post your module executes in a CICS region, but via submodules both IMS DB calls, respectively embedded SQL are executed.
Is any module issuing an explicit DB2 COMMIT statement, by chance? |
|
Back to top |
|
|
neelesht
New User
Joined: 24 Jul 2006 Posts: 99 Location: Los Angeles
|
|
|
|
NO commit statements.
Thanks
Neelesh |
|
Back to top |
|
|
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
How are you returning control back to PGM A ? Note :An implicit Commit is performed at every exec cics return statement. |
|
Back to top |
|
|
|