<?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: override database and logical file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 13:10:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99713</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 02 Dec 2011 08:07:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-99713</guid>
		<description><![CDATA[&lt;i&gt;both operation retrieve record using Physical file access path, or different access path????&lt;/i&gt;

Neither. Those don&#039;t retrieve records. They determine where records will be retrieved from.

OVRDBF determines that the records will be retrieved through an access path for the file named in the TOFILE() parameter. The file that is overridden to can be a different PF or it can be a LF over the original file or over a different PF. The file that is overridden from can be a PF or a LF.

The access path for an LF will be used to retrieve records when a LF is opened.

In both cases, the access path might be the same as a PF or different. Access paths can be &#039;shared&#039; between files. It&#039;s often best to arrange files so that access paths are shared. Any access path that is shared will necessarily always be over records from the same PF (or PFs, in the case of joins or unions such as a multi-format LF).

Tom]]></description>
		<content:encoded><![CDATA[<p><i>both operation retrieve record using Physical file access path, or different access path????</i></p>
<p>Neither. Those don&#8217;t retrieve records. They determine where records will be retrieved from.</p>
<p>OVRDBF determines that the records will be retrieved through an access path for the file named in the TOFILE() parameter. The file that is overridden to can be a different PF or it can be a LF over the original file or over a different PF. The file that is overridden from can be a PF or a LF.</p>
<p>The access path for an LF will be used to retrieve records when a LF is opened.</p>
<p>In both cases, the access path might be the same as a PF or different. Access paths can be &#8216;shared&#8217; between files. It&#8217;s often best to arrange files so that access paths are shared. Any access path that is shared will necessarily always be over records from the same PF (or PFs, in the case of joins or unions such as a multi-format LF).</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99709</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Fri, 02 Dec 2011 06:41:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-99709</guid>
		<description><![CDATA[OVRDBF and LF, the both operation retrieve record using Physical file access path, or different access path????]]></description>
		<content:encoded><![CDATA[<p>OVRDBF and LF, the both operation retrieve record using Physical file access path, or different access path????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99695</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 01 Dec 2011 20:48:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-99695</guid>
		<description><![CDATA[&lt;i&gt;why we can use both operation OVRDBF and LF.... &lt;/i&gt;

Why not?

The two are different. They don&#039;t do the same things; they don&#039;t directly conflict with each other.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>why we can use both operation OVRDBF and LF&#8230;. </i></p>
<p>Why not?</p>
<p>The two are different. They don&#8217;t do the same things; they don&#8217;t directly conflict with each other.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99662</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 01 Dec 2011 12:40:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-99662</guid>
		<description><![CDATA[Yes both can be used.  But you seem confused.

The OVRDBF is used to present a different file (or member) to the RPG program.

A logical file delivers the records in a different sequence and or by different selection rules.

The rpg program will generally fail if 
- the file presented to it has a different structure (Recocd Format)
- the file presented has a different key structure and is used by the RPG program.
Phil]]></description>
		<content:encoded><![CDATA[<p>Yes both can be used.  But you seem confused.</p>
<p>The OVRDBF is used to present a different file (or member) to the RPG program.</p>
<p>A logical file delivers the records in a different sequence and or by different selection rules.</p>
<p>The rpg program will generally fail if<br />
- the file presented to it has a different structure (Recocd Format)<br />
- the file presented has a different key structure and is used by the RPG program.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99539</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 29 Nov 2011 13:14:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-99539</guid>
		<description><![CDATA[So many questions, so little time.  
Have you done any research before you ask?
Phil

Add embedded SQL, embedded dynamic SQL, SQL views to the mix.
And consider OVRDBF with OPNQRYF 

Organizational standards and simplicity and flexibility of code all go into the mix
Phil]]></description>
		<content:encoded><![CDATA[<p>So many questions, so little time.<br />
Have you done any research before you ask?<br />
Phil</p>
<p>Add embedded SQL, embedded dynamic SQL, SQL views to the mix.<br />
And consider OVRDBF with OPNQRYF </p>
<p>Organizational standards and simplicity and flexibility of code all go into the mix<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deepu9321</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99537</link>
		<dc:creator>deepu9321</dc:creator>
		<pubDate>Tue, 29 Nov 2011 09:30:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-99537</guid>
		<description><![CDATA[As Tom mentioned, Both OVRDBF &amp; LF are having their own advantages,
If you would like to create a view in runtime, you can use OPNQRYF command.

Pradeep.]]></description>
		<content:encoded><![CDATA[<p>As Tom mentioned, Both OVRDBF &amp; LF are having their own advantages,<br />
If you would like to create a view in runtime, you can use OPNQRYF command.</p>
<p>Pradeep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/override-database-and-logical-file/#comment-99532</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 29 Nov 2011 07:35:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-99532</guid>
		<description><![CDATA[Neither has an advantage. They are two very different types of things used for different kinds of reasons.

OVRDBF allows you to substitute one file in place of another file at run-time.

Different LFs allow you to use different views or indexes over the same physical file usually at compile-time.

Tom]]></description>
		<content:encoded><![CDATA[<p>Neither has an advantage. They are two very different types of things used for different kinds of reasons.</p>
<p>OVRDBF allows you to substitute one file in place of another file at run-time.</p>
<p>Different LFs allow you to use different views or indexes over the same physical file usually at compile-time.</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 3/10 queries in 0.039 seconds using memcached
Object Caching 351/357 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 14:57:18 -->