 




<?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: Reading physical file in reverse order by rpg/400 program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/</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/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101086</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 31 Dec 2011 12:14:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-101086</guid>
		<description><![CDATA[@Phil:

We know it often doesn&#039;t really matter. But it&#039;s disturbing how often it actually does.

Tom]]></description>
		<content:encoded><![CDATA[<p>@Phil:</p>
<p>We know it often doesn&#8217;t really matter. But it&#8217;s disturbing how often it actually does.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101070</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sat, 31 Dec 2011 07:19:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-101070</guid>
		<description><![CDATA[Thanks Tom
The code samples shown responding to this question pass muster for RPG IV but are not RPG/400.
Phil]]></description>
		<content:encoded><![CDATA[<p>Thanks Tom<br />
The code samples shown responding to this question pass muster for RPG IV but are not RPG/400.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101068</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 31 Dec 2011 06:54:06 +0000</pubDate>
		<guid isPermaLink="false">#comment-101068</guid>
		<description><![CDATA[&lt;i&gt;...by rpg/400 program&lt;/i&gt;

And does it have to be RPG/400? Why not use RPG from this century?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;by rpg/400 program</i></p>
<p>And does it have to be RPG/400? Why not use RPG from this century?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101067</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 31 Dec 2011 06:51:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-101067</guid>
		<description><![CDATA[&lt;i&gt;...read a physical file in reverse order by rpg/400 program,condition is there is not any key field...&lt;/i&gt;

If there is no key, how are you defining &quot;reverse order&quot;? Do you want them in the reverse order that records were added to the file? Do you want them in reverse order based on relative record number? Do you want to read them in reverse order of the values of fields in the file? (They don&#039;t have to be &quot;keys&quot; to do that.) Or do you have a different definition? Each way can have a different method.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;read a physical file in reverse order by rpg/400 program,condition is there is not any key field&#8230;</i></p>
<p>If there is no key, how are you defining &#8220;reverse order&#8221;? Do you want them in the reverse order that records were added to the file? Do you want them in reverse order based on relative record number? Do you want to read them in reverse order of the values of fields in the file? (They don&#8217;t have to be &#8220;keys&#8221; to do that.) Or do you have a different definition? Each way can have a different method.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101030</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 30 Dec 2011 09:35:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-101030</guid>
		<description><![CDATA[Yes, %eof(EMP) &lt;- file name not record format name]]></description>
		<content:encoded><![CDATA[<p>Yes, %eof(EMP) &lt;- file name not record format name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101027</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Fri, 30 Dec 2011 09:02:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-101027</guid>
		<description><![CDATA[your correct Mr. Phil, but i got error on the %eof line

error is   -&gt;   Parameter EMPLOYEE is not valid for built-in function %EOF.]]></description>
		<content:encoded><![CDATA[<p>your correct Mr. Phil, but i got error on the %eof line</p>
<p>error is   -&gt;   Parameter EMPLOYEE is not valid for built-in function %EOF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101011</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 29 Dec 2011 11:18:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-101011</guid>
		<description><![CDATA[Logic issue 
If there are 8 records empno is displayed 9 times
Why?
Also, better to code %eof(employee)  
Why?

Phil]]></description>
		<content:encoded><![CDATA[<p>Logic issue<br />
If there are 8 records empno is displayed 9 times<br />
Why?<br />
Also, better to code %eof(employee)<br />
Why?</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-physical-file-in-reverse-order-by-rpg400-program/#comment-101004</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Thu, 29 Dec 2011 07:13:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-101004</guid>
		<description><![CDATA[just simple coding for you.. follow this..

 F emp       if   e             disk                     -&gt; declare my PF
C     *hival        setll     employee            -&gt; set high value in pf record
C                       dow       not %eof            
C                       readp     employee           
C     empno     dsply 
C                       enddo 
C                       eval          *inlr = *on]]></description>
		<content:encoded><![CDATA[<p>just simple coding for you.. follow this..</p>
<p> F emp       if   e             disk                     -&gt; declare my PF<br />
C     *hival        setll     employee            -&gt; set high value in pf record<br />
C                       dow       not %eof<br />
C                       readp     employee<br />
C     empno     dsply<br />
C                       enddo<br />
C                       eval          *inlr = *on</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.011 seconds using memcached
Object Caching 366/369 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 18:13:37 -->