 




<?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: Output file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/output-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 03:56:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/#comment-101638</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sat, 14 Jan 2012 02:05:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-101638</guid>
		<description><![CDATA[As Tom said, it&#039;s hard to tell without seeing your code and we can not tell if there are records in the files.

If you are using the same indicator for all loops you&#039;re logic will never enter the second, third or fourth files.

I would always perfer to write a read loop like this

Read file1
Dow not %EOF(file1) &lt;-- if this is RPG as opposed to RPG IV then an indicator is needed
move stuff
write RecOut
Read file1
Enddo

Phil]]></description>
		<content:encoded><![CDATA[<p>As Tom said, it&#8217;s hard to tell without seeing your code and we can not tell if there are records in the files.</p>
<p>If you are using the same indicator for all loops you&#8217;re logic will never enter the second, third or fourth files.</p>
<p>I would always perfer to write a read loop like this</p>
<p>Read file1<br />
Dow not %EOF(file1) &lt;&#8211; if this is RPG as opposed to RPG IV then an indicator is needed<br />
move stuff<br />
write RecOut<br />
Read file1<br />
Enddo</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/#comment-101635</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 13 Jan 2012 23:53:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-101635</guid>
		<description><![CDATA[You description of the logic seems okay. But we can&#039;t tell what is wrong without seeing the program code, and we might need a little more explanation of what happens beyond &quot;...not getting the output.&quot;

Tom]]></description>
		<content:encoded><![CDATA[<p>You description of the logic seems okay. But we can&#8217;t tell what is wrong without seeing the program code, and we might need a little more explanation of what happens beyond &#8220;&#8230;not getting the output.&#8221;</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/#comment-101633</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 13 Jan 2012 23:01:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-101633</guid>
		<description><![CDATA[We don&#039;t know 
.. Not getting the output!
Do you have an output command after the Move of fileds
WRITE to an open file or EXCEPT to an open spool file. 
.. Not getting the output! 
Because the spool file isn&#039;t being sent to a printer?
or because you haven&#039;t looked in the output file?

Phil]]></description>
		<content:encoded><![CDATA[<p>We don&#8217;t know<br />
.. Not getting the output!<br />
Do you have an output command after the Move of fileds<br />
WRITE to an open file or EXCEPT to an open spool file.<br />
.. Not getting the output!<br />
Because the spool file isn&#8217;t being sent to a printer?<br />
or because you haven&#8217;t looked in the output file?</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shpin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/#comment-101494</link>
		<dc:creator>shpin</dc:creator>
		<pubDate>Wed, 11 Jan 2012 06:47:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-101494</guid>
		<description><![CDATA[logical file is not dependent on those physical file
In logical file i have some 30 columns but i need only 8 of them and all the columns from physical files should be extracted 
here is the sample
dow the indicator is off
read logical file
if indicator is off
den i wll be moving the fields 
similarly, i will be reading the physical files and writing dem in output file 
but i don&#039;t where i went wrong not getting the  output.]]></description>
		<content:encoded><![CDATA[<p>logical file is not dependent on those physical file<br />
In logical file i have some 30 columns but i need only 8 of them and all the columns from physical files should be extracted<br />
here is the sample<br />
dow the indicator is off<br />
read logical file<br />
if indicator is off<br />
den i wll be moving the fields<br />
similarly, i will be reading the physical files and writing dem in output file<br />
but i don&#8217;t where i went wrong not getting the  output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/#comment-101476</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 10 Jan 2012 19:47:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-101476</guid>
		<description><![CDATA[&lt;i&gt;I have an logical file,3 physical files...&lt;/i&gt;

Does that mean you have four files? Or does it mean that you have a logical file that is built over three physical files?

&lt;i&gt;how can i do that using RPG. &lt;/i&gt;

I don&#039;t seem to understand the question. The answer is to read records from each input file and write every one of those to the output file. But that is so obvious that it doesn&#039;t seem like it makes sense. Please describe the circumstances more fully.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>I have an logical file,3 physical files&#8230;</i></p>
<p>Does that mean you have four files? Or does it mean that you have a logical file that is built over three physical files?</p>
<p><i>how can i do that using RPG. </i></p>
<p>I don&#8217;t seem to understand the question. The answer is to read records from each input file and write every one of those to the output file. But that is so obvious that it doesn&#8217;t seem like it makes sense. Please describe the circumstances more fully.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/output-file/#comment-101472</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 10 Jan 2012 18:41:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-101472</guid>
		<description><![CDATA[We need more specifications
What do the input files look like?
What should the output file look like?
How would the data be collated?
Phil]]></description>
		<content:encoded><![CDATA[<p>We need more specifications<br />
What do the input files look like?<br />
What should the output file look like?<br />
How would the data be collated?<br />
Phil</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.040 seconds using memcached
Object Caching 337/343 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 04:27:15 -->