If you are running CICS TS and DB2 (SPs via WLM) transaction management under RRS, are UOW commands in both languages...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
equivalent as far as CICS SYNCPOINT ROLLBACK or COMMIT and DB2 ROLLBACK or COMMIT?
In other words, if I am executing a CICS program which calls DB2 SPs in a WLM environment, can CICS and the SPs jointly control the UOW?
If a CICS transaction calls a DB2 stored procedure the stored procedure is not allowed to issue a ROLLBACK or COMMIT. There is a master-slave relationship between the CICS transaction and the DB2 stored procedure. The CICS transaction determines when the Unit of Work is to be committed or rolled back. In this scenario if a DB2 stored procedure issues a COMMIT or ROLLBACK a negative SQL response code is returned to the invoking CICS program which is expected to issue an EXEC CICS SYNCPOINT ROLLBACK command.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs?continue reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology.continue reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible?continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.