 




<?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: Read record from multi record format LF using RPGLE</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 23:11:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: The Most-Watched IT Questions: February 6, 2012 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102745</link>
		<dc:creator>The Most-Watched IT Questions: February 6, 2012 - ITKE Community Blog</dc:creator>
		<pubDate>Thu, 09 Feb 2012 20:02:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-102745</guid>
		<description><![CDATA[[...] Pdsathishkum and Philpl1jb discuss if reading records from format LF using RPGLE is [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Pdsathishkum and Philpl1jb discuss if reading records from format LF using RPGLE is [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102196</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Mon, 30 Jan 2012 11:49:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-102196</guid>
		<description><![CDATA[What I meant to say was I don&#039;t update Join files Tom does.]]></description>
		<content:encoded><![CDATA[<p>What I meant to say was I don&#8217;t update Join files Tom does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102191</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 30 Jan 2012 06:43:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-102191</guid>
		<description><![CDATA[&lt;i&gt;Join files are not updatable.&lt;/i&gt;

...until V5R4 with INSTEAD OF triggers. (At least, I think it was V5R4.)

Tom]]></description>
		<content:encoded><![CDATA[<p><i>Join files are not updatable.</i></p>
<p>&#8230;until V5R4 with INSTEAD OF triggers. (At least, I think it was V5R4.)</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102152</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Sat, 28 Jan 2012 18:04:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-102152</guid>
		<description><![CDATA[Thank Mr. Phil, i got clear idea about this... i fully learned and research about this...
i got perfect answer from your hint.... 

one more thanks for you...]]></description>
		<content:encoded><![CDATA[<p>Thank Mr. Phil, i got clear idea about this&#8230; i fully learned and research about this&#8230;<br />
i got perfect answer from your hint&#8230;. </p>
<p>one more thanks for you&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102148</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sat, 28 Jan 2012 15:43:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-102148</guid>
		<description><![CDATA[You can use the logical file, do two reads then show screen.  

Since you want data from both files at the same time, you might be better off with a join logical file.   Issue - Join files are not updatable.  
Phil]]></description>
		<content:encoded><![CDATA[<p>You can use the logical file, do two reads then show screen.  </p>
<p>Since you want data from both files at the same time, you might be better off with a join logical file.   Issue &#8211; Join files are not updatable.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102145</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Sat, 28 Jan 2012 13:58:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-102145</guid>
		<description><![CDATA[&lt;i&gt;It’s taking all of the records in the two files and sorting them on the keys&lt;/i&gt;
Mr. Phil, your are correct... i understood your point... i got the perfect answer..

i have another one question.. i have 2 field in PF1 and 2 field in PF2.. totally 4 field in LF..
can we read record from 4 fields at a time.....]]></description>
		<content:encoded><![CDATA[<p><i>It’s taking all of the records in the two files and sorting them on the keys</i><br />
Mr. Phil, your are correct&#8230; i understood your point&#8230; i got the perfect answer..</p>
<p>i have another one question.. i have 2 field in PF1 and 2 field in PF2.. totally 4 field in LF..<br />
can we read record from 4 fields at a time&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102142</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sat, 28 Jan 2012 11:03:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-102142</guid>
		<description><![CDATA[Just show us the samle data and the logical file code.]]></description>
		<content:encoded><![CDATA[<p>Just show us the samle data and the logical file code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102138</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sat, 28 Jan 2012 02:50:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-102138</guid>
		<description><![CDATA[R test1
K KEYFLD1
K KEYFLD2
K *NOKEY
R TEST2
K KFLD1
K KFLD2
K KFLD3


If this doesn&#039;t work for you show use some sample data in the order you want it marking each rows source and field names.]]></description>
		<content:encoded><![CDATA[<p>R test1<br />
K KEYFLD1<br />
K KEYFLD2<br />
K *NOKEY<br />
R TEST2<br />
K KFLD1<br />
K KFLD2<br />
K KFLD3</p>
<p>If this doesn&#8217;t work for you show use some sample data in the order you want it marking each rows source and field names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102133</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 27 Jan 2012 23:28:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-102133</guid>
		<description><![CDATA[i don’t want to change order of record… i want to change the order of file in LF -- but the order of data in the logical file isn&#039;t based on records it&#039;s based on keys.  It&#039;s taking all of the records in the two files and sorting them on the keys.

That requires a change to the keys in the logical file
file 1
Key 1.1
Key 1.2
file 2
Key 2.1
Key 2.2
Key 2.3  &lt;-- add another key
if key 1.1 = 2.1 and 1.2 = 2.2 the record from file1 will be before record from file2 because key 2.3 &gt; nothing
At least that&#039;s the way i remember it, you can research it and tell me how it goes.
Phil]]></description>
		<content:encoded><![CDATA[<p>i don’t want to change order of record… i want to change the order of file in LF &#8212; but the order of data in the logical file isn&#8217;t based on records it&#8217;s based on keys.  It&#8217;s taking all of the records in the two files and sorting them on the keys.</p>
<p>That requires a change to the keys in the logical file<br />
file 1<br />
Key 1.1<br />
Key 1.2<br />
file 2<br />
Key 2.1<br />
Key 2.2<br />
Key 2.3  &lt;&#8211; add another key<br />
if key 1.1 = 2.1 and 1.2 = 2.2 the record from file1 will be before record from file2 because key 2.3 &gt; nothing<br />
At least that&#8217;s the way i remember it, you can research it and tell me how it goes.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/read-record-from-multi-record-format-pf-using-rpgle/#comment-102123</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Fri, 27 Jan 2012 18:09:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-102123</guid>
		<description><![CDATA[Mr. Phil, i don&#039;t want to change order of record... i want to change the order of file in LF.
i want to read record from first PF(testa) in first time. but my code read record from second PF in first..

so i want change that............. is it possible............]]></description>
		<content:encoded><![CDATA[<p>Mr. Phil, i don&#8217;t want to change order of record&#8230; i want to change the order of file in LF.<br />
i want to read record from first PF(testa) in first time. but my code read record from second PF in first..</p>
<p>so i want change that&#8230;&#8230;&#8230;&#8230;. is it possible&#8230;&#8230;&#8230;&#8230;</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/9 queries in 0.012 seconds using memcached
Object Caching 394/397 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 23:41:26 -->