<?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: Record lock</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/record-lock/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 11:12:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/#comment-97492</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Thu, 06 Oct 2011 07:24:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-97492</guid>
		<description><![CDATA[You need a design level standard

Don&#039;t lock the record.  

Don&#039;t ever write anything that locks a record - ever.


Except just before you update it.  


read and display
read and display
decide an update is needed

read the record for update (lock)
check it hasn&#039;t changed since you displayed it ( tell the user if so)
update it
release the lock

read and display 
read and display
blahblah]]></description>
		<content:encoded><![CDATA[<p>You need a design level standard</p>
<p>Don&#8217;t lock the record.  </p>
<p>Don&#8217;t ever write anything that locks a record &#8211; ever.</p>
<p>Except just before you update it.  </p>
<p>read and display<br />
read and display<br />
decide an update is needed</p>
<p>read the record for update (lock)<br />
check it hasn&#8217;t changed since you displayed it ( tell the user if so)<br />
update it<br />
release the lock</p>
<p>read and display<br />
read and display<br />
blahblah</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/#comment-80110</link>
		<dc:creator>splat</dc:creator>
		<pubDate>Mon, 09 Aug 2010 14:39:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-80110</guid>
		<description><![CDATA[WoodEngineer, if you would be so kind as to also send me a copy of your CL it would be appreciated.  My address is atroxdesign {at} swbell {dot} net.]]></description>
		<content:encoded><![CDATA[<p>WoodEngineer, if you would be so kind as to also send me a copy of your CL it would be appreciated.  My address is atroxdesign {at} swbell {dot} net.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/#comment-80049</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 06 Aug 2010 07:28:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-80049</guid>
		<description><![CDATA[If it&#039;s an ODBC process holding the lock, how will you send the message? If it&#039;s a batch job holding the lock, how will you display a menu? If you don&#039;t have authority to the offending job, how will you do anything at all with it?

Why is your job more important than the job holding the lock? What if no one is at the workstation?

In short, the lock isn&#039;t the problem and sending a message won&#039;t solve it on an ongoing basis. The problem is the design of the application -- it shouldn&#039;t allow standing locks in the first place. Eliminate the locks; don&#039;t just complain (message) about them.

Tom]]></description>
		<content:encoded><![CDATA[<p>If it&#8217;s an ODBC process holding the lock, how will you send the message? If it&#8217;s a batch job holding the lock, how will you display a menu? If you don&#8217;t have authority to the offending job, how will you do anything at all with it?</p>
<p>Why is your job more important than the job holding the lock? What if no one is at the workstation?</p>
<p>In short, the lock isn&#8217;t the problem and sending a message won&#8217;t solve it on an ongoing basis. The problem is the design of the application &#8212; it shouldn&#8217;t allow standing locks in the first place. Eliminate the locks; don&#8217;t just complain (message) about them.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/#comment-56774</link>
		<dc:creator>cwc</dc:creator>
		<pubDate>Mon, 29 Sep 2008 17:09:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-56774</guid>
		<description><![CDATA[Here are some other ideas and techniques.  

The example RPG code at the link below is old, and could be implemented today in /Free without numbered indicators, etc., but illustrates the approach.  I like the idea of displaying a window informing the user who needs the lock that someone else already has that record locked.  And ideally, a message could also be sent to the user who has the lock, to inform them that someone else needs it and to ask them to please finish their work on that record and to release it, etc.  
&lt;a href=&quot;http://www.mcpressonline.com/tips-techniques/programming/techtalk-who-locked-the-record.html&quot;&gt;http://www.mcpressonline.com/tips-techniques/programming/techtalk-who-locked-the-record.html&lt;/a&gt;

And this one has a link to some code that can be downloaded.  
&lt;a href=&quot;http://systeminetwork.com/article/easily-respond-object-and-record-lock-events&quot;&gt;http://systeminetwork.com/article/easily-respond-object-and-record-lock-events&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Here are some other ideas and techniques.  </p>
<p>The example RPG code at the link below is old, and could be implemented today in /Free without numbered indicators, etc., but illustrates the approach.  I like the idea of displaying a window informing the user who needs the lock that someone else already has that record locked.  And ideally, a message could also be sent to the user who has the lock, to inform them that someone else needs it and to ask them to please finish their work on that record and to release it, etc.<br />
<a href="http://www.mcpressonline.com/tips-techniques/programming/techtalk-who-locked-the-record.html">http://www.mcpressonline.com/tips-techniques/programming/techtalk-who-locked-the-record.html</a></p>
<p>And this one has a link to some code that can be downloaded.<br />
<a href="http://systeminetwork.com/article/easily-respond-object-and-record-lock-events">http://systeminetwork.com/article/easily-respond-object-and-record-lock-events</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alicsc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/#comment-56740</link>
		<dc:creator>alicsc</dc:creator>
		<pubDate>Sun, 28 Sep 2008 14:39:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-56740</guid>
		<description><![CDATA[Hi,
Pls send me the code to me also.My Email Id is msali37@gmail.com]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Pls send me the code to me also.My Email Id is <a href="mailto:msali37@gmail.com">msali37@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vids</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/record-lock/#comment-56739</link>
		<dc:creator>vids</dc:creator>
		<pubDate>Sun, 28 Sep 2008 14:11:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-56739</guid>
		<description><![CDATA[yes please.
my email is vidu21@gmail.com

Thanks]]></description>
		<content:encoded><![CDATA[<p>yes please.<br />
my email is <a href="mailto:vidu21@gmail.com">vidu21@gmail.com</a></p>
<p>Thanks</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/10 queries in 0.036 seconds using memcached
Object Caching 337/343 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 12:23:49 -->