 




<?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: CPF5032 member already locked to this job</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cpf5032-member-already-locked-to-this-job/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cpf5032-member-already-locked-to-this-job/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 23:54:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: deepu9321</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpf5032-member-already-locked-to-this-job/#comment-91846</link>
		<dc:creator>deepu9321</dc:creator>
		<pubDate>Thu, 05 May 2011 12:30:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-91846</guid>
		<description><![CDATA[If you are locking the file in main program and if you try to access the same in one of the sub programs it will give the same result(i.e., CPF5032).
in this case, *INLR ON will actually not release the locks before calling subprogram.

But, If you are locking the file in one of the sub programs and once the sub program finishes(*INLR ON) you can access the same in main program or any other sub programs. 

If you really dont need to update the file in main program then you can use &#039;READ(N)&#039; while reading the file. So, that Main program will not lock the file(Similar to Sub programs also).

PRADEEP]]></description>
		<content:encoded><![CDATA[<p>If you are locking the file in main program and if you try to access the same in one of the sub programs it will give the same result(i.e., CPF5032).<br />
in this case, *INLR ON will actually not release the locks before calling subprogram.</p>
<p>But, If you are locking the file in one of the sub programs and once the sub program finishes(*INLR ON) you can access the same in main program or any other sub programs. </p>
<p>If you really dont need to update the file in main program then you can use &#8216;READ(N)&#8217; while reading the file. So, that Main program will not lock the file(Similar to Sub programs also).</p>
<p>PRADEEP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpf5032-member-already-locked-to-this-job/#comment-91829</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 04 May 2011 20:35:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-91829</guid>
		<description><![CDATA[&lt;i&gt;However, I thought if I turned *INLR on before exiting the programs, all record locks would be released. Is this not true?&lt;/i&gt;

Maybe. It might depend on how programs are compiled. What activation group does the outer program run in? How about the inner programs? What access methods are used? (At the simplest level, are these native I/O or SQL?) Are any overrides in effect at any level?

First thing to check is the CPF5032 error code shown in the 2nd-level text. What is it?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>However, I thought if I turned *INLR on before exiting the programs, all record locks would be released. Is this not true?</i></p>
<p>Maybe. It might depend on how programs are compiled. What activation group does the outer program run in? How about the inner programs? What access methods are used? (At the simplest level, are these native I/O or SQL?) Are any overrides in effect at any level?</p>
<p>First thing to check is the CPF5032 error code shown in the 2nd-level text. What is it?</p>
<p>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 6/8 queries in 0.014 seconds using memcached
Object Caching 283/284 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 00:27:55 -->