 




<?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 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>
	<lastBuildDate>Sun, 19 May 2013 00:45:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-115335</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Thu, 17 Jan 2013 16:18:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-115335</guid>
		<description><![CDATA[Is it possible a job did not complete normally ? Some jobs set a flag to prevent duplicate jobs from running. If it say you have file locked even after logging out and back in again you may have a &quot;Phantom Session&quot; that did not complete. I may not show under WRKACTJOB so check it out using Operations Navigator, work management, active jobs.  Look for your job it may have a status of suspended or some thing similar. You may need to end that one. If you still cannot run the job, check with a programmer as to why or contact the software provider for help on the issue.]]></description>
		<content:encoded><![CDATA[<p>Is it possible a job did not complete normally ? Some jobs set a flag to prevent duplicate jobs from running. If it say you have file locked even after logging out and back in again you may have a &#8220;Phantom Session&#8221; that did not complete. I may not show under WRKACTJOB so check it out using Operations Navigator, work management, active jobs.  Look for your job it may have a status of suspended or some thing similar. You may need to end that one. If you still cannot run the job, check with a programmer as to why or contact the software provider for help on the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-115323</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Thu, 17 Jan 2013 14:03:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-115323</guid>
		<description><![CDATA[We have no clue what programming you are running, so we could only try various guesses. From the way you word it with &quot;someone is currently running [post]&quot;, I&#039;d first think in terms of something like a master control record or data area that has a &#039;flag&#039; value. I can&#039;t guess which it would be nor how to track it down. There is also a possibility that some object is locked by your programming whenever a &quot;post&quot; is run. But a lock might be established in a variety of ways, e.g., simply by running ALCOBJ from a command line. IOW, it might have nothing to do with a &quot;post&quot;. Of course, a control record or data area &#039;flag&#039; value can also be updated in various ways, but it usually takes a more deliberate action. Not a lot more can be said without a much more complete description of the application. -- Tom]]></description>
		<content:encoded><![CDATA[<p>We have no clue what programming you are running, so we could only try various guesses. From the way you word it with &#8220;someone is currently running [post]&#8220;, I&#8217;d first think in terms of something like a master control record or data area that has a &#8216;flag&#8217; value. I can&#8217;t guess which it would be nor how to track it down. There is also a possibility that some object is locked by your programming whenever a &#8220;post&#8221; is run. But a lock might be established in a variety of ways, e.g., simply by running ALCOBJ from a command line. IOW, it might have nothing to do with a &#8220;post&#8221;. Of course, a control record or data area &#8216;flag&#8217; value can also be updated in various ways, but it usually takes a more deliberate action. Not a lot more can be said without a much more complete description of the application. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcharles01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-115291</link>
		<dc:creator>mcharles01</dc:creator>
		<pubDate>Wed, 16 Jan 2013 21:06:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-115291</guid>
		<description><![CDATA[I dont know how to find the file mine is the only Batch???]]></description>
		<content:encoded><![CDATA[<p>I dont know how to find the file mine is the only Batch???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcharles01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-115290</link>
		<dc:creator>mcharles01</dc:creator>
		<pubDate>Wed, 16 Jan 2013 21:04:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-115290</guid>
		<description><![CDATA[Please help... I am trying to bill in AS400 and when I go to update/post invoices it says someone is currently running invoice post. Cant find who is in it ....

Thanks
Michelle]]></description>
		<content:encoded><![CDATA[<p>Please help&#8230; I am trying to bill in AS400 and when I go to update/post invoices it says someone is currently running invoice post. Cant find who is in it &#8230;.</p>
<p>Thanks<br />
Michelle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcharles01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-release-the-lock-on-a-as400-file/#comment-115286</link>
		<dc:creator>mcharles01</dc:creator>
		<pubDate>Wed, 16 Jan 2013 20:45:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-115286</guid>
		<description><![CDATA[I am in need of help desperately. AS400 trying to invoice when I go to update says someone is currently running post. there are no other batches. Will not update. Did dspmsg no message waiting...]]></description>
		<content:encoded><![CDATA[<p>I am in need of help desperately. AS400 trying to invoice when I go to update says someone is currently running post. there are no other batches. Will not update. Did dspmsg no message waiting&#8230;</p>
]]></content:encoded>
	</item>
	<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><![CDATA[Try a basic RCLRSC to force files to close.

Note that this should only be done if you&#039;re sure the file doesn&#039;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&#039;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&#039;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><![CDATA[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><![CDATA[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>

<!-- 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.037 seconds using memcached
Object Caching 367/368 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 02:00:13 -->