<?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"
	>
<channel>
	<title>Comments on: How can i release the lock on a AS/400 file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/</link>
	<description></description>
	<pubDate>Thu, 18 Mar 2010 23:48:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-68928</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sun, 11 Oct 2009 11:16:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-68928</guid>
		<description>Try a basic RCLRSC to force files to close.

Note that this should only be done if you're sure the file doesn't need to be open. There might be an activation group that expects the file to remain open. There might have been a trigger program that expects the file to stay open. There might be an exit program registered against any number of system exit points that expects the file to stay open.

There shouldn't be functions that leave files open when you need to establish locks on the files in other functions. Either the file is left open by mistake or you shouldn't be locking it. Either way, something needs to be fixed.

Tom</description>
		<content:encoded><![CDATA[<p>Try a basic RCLRSC to force files to close.</p>
<p>Note that this should only be done if you&#8217;re sure the file doesn&#8217;t need to be open. There might be an activation group that expects the file to remain open. There might have been a trigger program that expects the file to stay open. There might be an exit program registered against any number of system exit points that expects the file to stay open.</p>
<p>There shouldn&#8217;t be functions that leave files open when you need to establish locks on the files in other functions. Either the file is left open by mistake or you shouldn&#8217;t be locking it. Either way, something needs to be fixed.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Whatis23</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-67533</link>
		<dc:creator>Whatis23</dc:creator>
		<pubDate>Fri, 28 Aug 2009 16:54:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-67533</guid>
		<description>If the file was opened by the OPNDBF or OPNQRYF commands, the Close File (CLOF) command will close a database file opened with those commands. Try this to release the lock.</description>
		<content:encoded><![CDATA[<p>If the file was opened by the OPNDBF or OPNQRYF commands, the Close File (CLOF) command will close a database file opened with those commands. Try this to release the lock.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sreeraj</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-67511</link>
		<dc:creator>Sreeraj</dc:creator>
		<pubDate>Fri, 28 Aug 2009 08:32:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-67511</guid>
		<description>Hi Roy,

Thanks for ur reply. Actually i had already done WRKOBJLCk on it and found out that the file was locked by my profile itself. But I was not using that file at that time , not running any jobs also. Still it shows that the file is locked. this happens right after running a particular program in my profile. But program successfully came out  after running . but files are not getting released.</description>
		<content:encoded><![CDATA[<p>Hi Roy,</p>
<p>Thanks for ur reply. Actually i had already done WRKOBJLCk on it and found out that the file was locked by my profile itself. But I was not using that file at that time , not running any jobs also. Still it shows that the file is locked. this happens right after running a particular program in my profile. But program successfully came out  after running . but files are not getting released.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->