What we do is, insert a record in a batch program and we call existing CICS transaction which is part of a CICS application. The CICS transaction then wants to update this record inserted in batch. We thought the solution was to control the unit-of-work from batch.
We get the -911 (deadlock) sqlcode. Is there something missing or those DB managars don't communicate.
I read this, not sure what should i try.
http://publib.boulder.ibm.com/infocente ... c0063.html
This is the call
CALL 'DFHXCIS' USING VERSION-1
EXCI-RETURN-CODE
BLINE-USER-TOKEN
DPL-REQUEST
BLINE-PIPE-TOKEN
BLINE-TARGET-PROGRAM
BLINE-DFHCOMMAREA
BLINE-COMM-LENGTH
BLINE-DATA-LENGTH
BLINE-TARGET-TRANSID
NULL-PTR
NULL-PTR
EXCI-DPL-RETAREA
NOSYNCONRETURN
EXCI-RETURN-CODE
BLINE-USER-TOKEN
DPL-REQUEST
BLINE-PIPE-TOKEN
BLINE-TARGET-PROGRAM
BLINE-DFHCOMMAREA
BLINE-COMM-LENGTH
BLINE-DATA-LENGTH
BLINE-TARGET-TRANSID
NULL-PTR
NULL-PTR
EXCI-DPL-RETAREA
NOSYNCONRETURN