 




<?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: Single page subfile with filter</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/single-page-subfile-with-filter/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/single-page-subfile-with-filter/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 17:28:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/single-page-subfile-with-filter/#comment-115698</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 30 Jan 2013 11:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/single-page-subfile-with-filter/#comment-115698</guid>
		<description><![CDATA[If you are going to &#039;Position to&#039;, you should read from a dataset that is sequenced by the &#039;Position to&#039; value. If you can&#039;t do that, then you can read all of the data into your program and sort it.
&#160;
The data values will be in the same file if you create a JOIN file that join the physical files into one or more logical files. You can create multiple DDS logical files that are indexed by different fields. You can generate a logical file at run-time with OPNQRYF. Or best might be to use dynamic SQL to generate a JOIN view in your program.
&#160;
With SQL, you can modify the SELECT statement for a CURSOR by adding an ORDER BY clause when the user picks a different &#039;Position to&#039; field. The underlying tables should have indexes that support the various possible ORDER BY conditions.
&#160;
You can use a blocked FETCH to read blocks that have the same number of rows as your subfile page. If you only care about scrolling the subfile forward from the &#039;Position to&#039; value, a WHERE clause can be added to the SELECT statement.
&#160;
It doesn&#039;t matter if account and description come from the same physical file. You have to read the file that the &#039;Position to&#039; value is from. Easiest way to do that is to get the fields into the same JOIN logical file or view.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>If you are going to &#8216;Position to&#8217;, you should read from a dataset that is sequenced by the &#8216;Position to&#8217; value. If you can&#8217;t do that, then you can read all of the data into your program and sort it.<br />
&nbsp;<br />
The data values will be in the same file if you create a JOIN file that join the physical files into one or more logical files. You can create multiple DDS logical files that are indexed by different fields. You can generate a logical file at run-time with OPNQRYF. Or best might be to use dynamic SQL to generate a JOIN view in your program.<br />
&nbsp;<br />
With SQL, you can modify the SELECT statement for a CURSOR by adding an ORDER BY clause when the user picks a different &#8216;Position to&#8217; field. The underlying tables should have indexes that support the various possible ORDER BY conditions.<br />
&nbsp;<br />
You can use a blocked FETCH to read blocks that have the same number of rows as your subfile page. If you only care about scrolling the subfile forward from the &#8216;Position to&#8217; value, a WHERE clause can be added to the SELECT statement.<br />
&nbsp;<br />
It doesn&#8217;t matter if account and description come from the same physical file. You have to read the file that the &#8216;Position to&#8217; value is from. Easiest way to do that is to get the fields into the same JOIN logical file or view.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RamvishakRamesh</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/single-page-subfile-with-filter/#comment-115693</link>
		<dc:creator>RamvishakRamesh</dc:creator>
		<pubDate>Wed, 30 Jan 2013 05:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/single-page-subfile-with-filter/#comment-115693</guid>
		<description><![CDATA[But here the problem is am not getting account and description from the same file. I cannot use the file which has the desription to build the subfile because it has many other fields also whihc comes only from the file which has account.]]></description>
		<content:encoded><![CDATA[<p>But here the problem is am not getting account and description from the same file. I cannot use the file which has the desription to build the subfile because it has many other fields also whihc comes only from the file which has account.</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.036 seconds using memcached
Object Caching 283/284 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 22:07:50 -->