 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AS/400 Record Lock</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 02:14:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114834</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 03 Jan 2013 03:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114834</guid>
		<description><![CDATA[Thanks Tom
I wasn&#039;t aware of the 
DSPJOB OPTION(*CMTCTL)
command.  It&#039;s exactly what I lacked in solving this issue. 

Phil]]></description>
		<content:encoded><![CDATA[<p>Thanks Tom<br />
I wasn&#8217;t aware of the<br />
DSPJOB OPTION(*CMTCTL)<br />
command.  It&#8217;s exactly what I lacked in solving this issue. </p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114833</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Thu, 03 Jan 2013 00:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114833</guid>
		<description><![CDATA[The DSPJOB OPTION(*CMTCTL) option should show an indication when that happens. An unexpected commitment definition would be visible when that program started up. I don&#039;t recall running under nested definitions before. It sounds like a potential mess when it&#039;s not expected. -- Tom]]></description>
		<content:encoded><![CDATA[<p>The DSPJOB OPTION(*CMTCTL) option should show an indication when that happens. An unexpected commitment definition would be visible when that program started up. I don&#8217;t recall running under nested definitions before. It sounds like a potential mess when it&#8217;s not expected. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114821</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Wed, 02 Jan 2013 14:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114821</guid>
		<description><![CDATA[That&#039;s got it .. thanks Tom
DSPPGM on the much earlier SQLRPGLE program has:&#160;
&#160;
Commitment control . . . . . . . . . . . . . . :&#160;*CHG
&#160;
Developer changed this program. removed sql call of stored procedure to an RPGLE program with appropriate code to do intended process&#160;and now subsequent commit processes perform to expectations.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s got it .. thanks Tom<br />
DSPPGM on the much earlier SQLRPGLE program has:&nbsp;<br />
&nbsp;<br />
Commitment control . . . . . . . . . . . . . . :&nbsp;*CHG<br />
&nbsp;<br />
Developer changed this program. removed sql call of stored procedure to an RPGLE program with appropriate code to do intended process&nbsp;and now subsequent commit processes perform to expectations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114798</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 02 Jan 2013 04:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114798</guid>
		<description><![CDATA[&lt;EM&gt;Some of these cannot be open read locks.&lt;/EM&gt;
&#160;
It&#039;s not clear what that means. Are there multiple files/records locked? Or is it that multiple programs read the record that is locked but most are simple reads?
&#160;
I&#039;d&#160;widen the journal tracking to include opens/closes. And I&#039;d also verify that error reporting is happening for all locations that access the record. An error that is &#039;handled&#039; but not logged could mislead any analysis.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>Some of these cannot be open read locks.</em><br />
&nbsp;<br />
It&#8217;s not clear what that means. Are there multiple files/records locked? Or is it that multiple programs read the record that is locked but most are simple reads?<br />
&nbsp;<br />
I&#8217;d&nbsp;widen the journal tracking to include opens/closes. And I&#8217;d also verify that error reporting is happening for all locations that access the record. An error that is &#8216;handled&#8217; but not logged could mislead any analysis.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114791</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 02 Jan 2013 00:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114791</guid>
		<description><![CDATA[For the SQLRPGLE program, what does DSPMOD DETAIL(*BASIC) show over the SQL module for &#039;Commitment control&#039; in the &#039;DB2/400 module attributes&#039; section? (Or look at the related program attributes.) -- Tom]]></description>
		<content:encoded><![CDATA[<p>For the SQLRPGLE program, what does DSPMOD DETAIL(*BASIC) show over the SQL module for &#8216;Commitment control&#8217; in the &#8216;DB2/400 module attributes&#8217; section? (Or look at the related program attributes.) &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114790</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Wed, 02 Jan 2013 00:34:12 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114790</guid>
		<description><![CDATA[yes .. error occurs in a program after the commit and endcmtctlAll records and files remain locked after commit.&#160; 11 records in 5 files remain locked after the commit.&#160; Some of these cannot be open read locks.This happens when an SQLRPGLE program is run which contains an SQL command to run a stored procedure.&#160;&#160; The SQLRPGLE program does not have an Sql option commit = *NONE .. so I&#039;m wondering if Commitment control started long before we expected it to start maybe at the activation group level.&#160;&#160;]]></description>
		<content:encoded><![CDATA[<p>yes .. error occurs in a program after the commit and endcmtctlAll records and files remain locked after commit.&nbsp; 11 records in 5 files remain locked after the commit.&nbsp; Some of these cannot be open read locks.This happens when an SQLRPGLE program is run which contains an SQL command to run a stored procedure.&nbsp;&nbsp; The SQLRPGLE program does not have an Sql option commit = *NONE .. so I&#8217;m wondering if Commitment control started long before we expected it to start maybe at the activation group level.&nbsp;&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114779</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 01 Jan 2013 06:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114779</guid>
		<description><![CDATA[Should I assume that &quot;no error&quot; means there is no error at the time of commit, but an error shows up at some later point when a record lock is reported? Again, I&#039;m not aware that a commit will affect a record that is read-for-update but not actually updated. Any such lock should stay in place until something releases it. If it&#039;s updated after the commit, it should be part of a different transaction requiring a different commit. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Should I assume that &#8220;no error&#8221; means there is no error at the time of commit, but an error shows up at some later point when a record lock is reported? Again, I&#8217;m not aware that a commit will affect a record that is read-for-update but not actually updated. Any such lock should stay in place until something releases it. If it&#8217;s updated after the commit, it should be part of a different transaction requiring a different commit. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114776</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 01 Jan 2013 04:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114776</guid>
		<description><![CDATA[That&#039;s the problem .. no error ..&#160; commit is issued but record locks don&#039;t get unlocked and files continue to be locked.&#160;One difference in the flow is that before commitment control is started an SQLRPGLE program issues an SQL call is made to a stored procedure.&#160; Could there be two levels of Commitment control.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s the problem .. no error ..&nbsp; commit is issued but record locks don&#8217;t get unlocked and files continue to be locked.&nbsp;One difference in the flow is that before commitment control is started an SQLRPGLE program issues an SQL call is made to a stored procedure.&nbsp; Could there be two levels of Commitment control.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114766</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 31 Dec 2012 21:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114766</guid>
		<description><![CDATA[&lt;EM&gt;When it fails to commit ..&lt;/EM&gt;
&#160;
Is that the error? What exactly is the reported error? What is showing as the visible problem?
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>When it fails to commit ..</em><br />
&nbsp;<br />
Is that the error? What exactly is the reported error? What is showing as the visible problem?<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114765</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 31 Dec 2012 21:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-record-lock-2/#comment-114765</guid>
		<description><![CDATA[I assume by now that you know that the COMMITMENT_CONTROL_LOCK_LIMIT default is approx 500,000,000 for i 7.1. I didn&#039;t look at earlier releases, but I suspect the values are also pretty high. -- Tom]]></description>
		<content:encoded><![CDATA[<p>I assume by now that you know that the COMMITMENT_CONTROL_LOCK_LIMIT default is approx 500,000,000 for i 7.1. I didn&#8217;t look at earlier releases, but I suspect the values are also pretty high. &#8212; Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/8 queries in 0.040 seconds using memcached
Object Caching 395/396 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 04:14:03 -->