 




<?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: How to check for file locks in Batch</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 06:06:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: aceofdelts</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-115001</link>
		<dc:creator>aceofdelts</dc:creator>
		<pubDate>Tue, 08 Jan 2013 17:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-115001</guid>
		<description><![CDATA[In general, I place an exclusive lock on the file with a MONMSG for unable to place the lock. If the MONMSG hits then the file is in use.
I&#039;ll typically keep the lock on until the special process (reason for testing lock in the first place) is finished. Then remove the lock.]]></description>
		<content:encoded><![CDATA[<p>In general, I place an exclusive lock on the file with a MONMSG for unable to place the lock. If the MONMSG hits then the file is in use.<br />
I&#8217;ll typically keep the lock on until the special process (reason for testing lock in the first place) is finished. Then remove the lock.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LetItBe</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114824</link>
		<dc:creator>LetItBe</dc:creator>
		<pubDate>Wed, 02 Jan 2013 18:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114824</guid>
		<description><![CDATA[Here is a scenario we handle in a couple batch jobs that run everyday. &#160;If the batch job encounters a record lock, a message is sent to our operator so that she can resolve the record lock, answer the message so batch processing can continue.After the i-o operation in the batch job - we check for record lock - if lock is encountered, the above described routine is performed. &#160;If you are interested is this - I could post more information.]]></description>
		<content:encoded><![CDATA[<p>Here is a scenario we handle in a couple batch jobs that run everyday. &nbsp;If the batch job encounters a record lock, a message is sent to our operator so that she can resolve the record lock, answer the message so batch processing can continue.After the i-o operation in the batch job &#8211; we check for record lock &#8211; if lock is encountered, the above described routine is performed. &nbsp;If you are interested is this &#8211; I could post more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114778</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 01 Jan 2013 06:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114778</guid>
		<description><![CDATA[&lt;EM&gt;You can use WRKOBJLCK to find all locks.Note it down some where...&lt;/EM&gt;
&#160;
Since the request is to do it in batch, how do you recommend that the results be &quot;noted down&quot;?
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>You can use WRKOBJLCK to find all locks.Note it down some where&#8230;</em><br />
&nbsp;<br />
Since the request is to do it in batch, how do you recommend that the results be &#8220;noted down&#8221;?<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fsddfsdfsd</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114777</link>
		<dc:creator>fsddfsdfsd</dc:creator>
		<pubDate>Tue, 01 Jan 2013 04:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114777</guid>
		<description><![CDATA[You can use WRKOBJLCK to find all locks.Note it down some where and then use sndbrkmsg ,F4 then mention&#160;all work station that You have noted.You can send anu text message to all workstation]]></description>
		<content:encoded><![CDATA[<p>You can use WRKOBJLCK to find all locks.Note it down some where and then use sndbrkmsg ,F4 then mention&nbsp;all work station that You have noted.You can send anu text message to all workstation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114753</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 31 Dec 2012 07:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114753</guid>
		<description><![CDATA[The &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqwcrlcki.htm&quot; rel=&quot;nofollow&quot;&gt;Retrieve Lock Information (QWCRLCKI) API&lt;/a&gt; could also be used, but it is less widely known. It can be simpler for some cases since it returns its results in a receiver variable. -- Tom]]></description>
		<content:encoded><![CDATA[<p>The <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqwcrlcki.htm" rel="nofollow">Retrieve Lock Information (QWCRLCKI) API</a> could also be used, but it is less widely known. It can be simpler for some cases since it returns its results in a receiver variable. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114752</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 31 Dec 2012 07:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-check-for-file-locks-in-batch/#comment-114752</guid>
		<description><![CDATA[The &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqwclobjl.htm&quot; rel=&quot;nofollow&quot;&gt;List Object Locks (QWCLOBJL) API&lt;/a&gt; is probably the most common method of retrieving a list of locks for an object by programming. -- Tom]]></description>
		<content:encoded><![CDATA[<p>The <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Fqwclobjl.htm" rel="nofollow">List Object Locks (QWCLOBJL) API</a> is probably the most common method of retrieving a list of locks for an object by programming. &#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/10 queries in 0.044 seconds using memcached
Object Caching 337/343 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 06:52:39 -->