Page 1 of 1

Help in contention of DB2 table between CICS and batch progr

Posted: Thu May 21, 2015 11:59 am
by RobinPatil
Hi,

While the CICS is up, one of the other batch program unloads DB2 table (Table x) . The job executing the batch program abends as the CICS Listener is holding the table. To resolve it, we have added "WITH UR" in the SQL query in the online program bound it with ISOLATION LEVEL = UR but this did not help. Can someple please help?

Re: Help in contention of DB2 table between CICS and batch p

Posted: Thu May 21, 2015 3:09 pm
by zprogrammer
Are you doing frequent commits in your CICS program?

Re: Help in contention of DB2 table between CICS and batch p

Posted: Fri May 22, 2015 2:19 pm
by RobinPatil
Yes, we are doing frequent commits.

Re: Help in contention of DB2 table between CICS and batch p

Posted: Thu Jun 04, 2015 8:50 pm
by RobinPatil
We played more around the coomit/commit-frequency but it does nt seem to help...could you please help with some more suggestions?

Re: Help in contention of DB2 table between CICS and batch p

Posted: Mon Jun 08, 2015 2:59 pm
by Anuj Dhawan
RobinPatil wrote:We played more around the coomit/commit-frequency but it does nt seem to help...could you please help with some more suggestions?
Try issuing 'SYNCPOINT' before the RETURN in the CICS program ans see if this helps.

Re: Help in contention of DB2 table between CICS and batch p

Posted: Mon Jun 08, 2015 3:05 pm
by zprogrammer
Also sit with your DBA to analyze on the LOCKSIZE in Tablesapce