 




<?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: Same file in different libraries and file is defined once in an RPGLE program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/same-file-in-different-libraries-and-file-is-defined-once-in-an-rpgle-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/same-file-in-different-libraries-and-file-is-defined-once-in-an-rpgle-program/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 15:11:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/same-file-in-different-libraries-and-file-is-defined-once-in-an-rpgle-program/#comment-99016</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sun, 13 Nov 2011 22:26:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-99016</guid>
		<description><![CDATA[As Tom said, we need more specs.
Do you need to process data from these files as if they were one file 
Or
All data from lib1/file then all the data from lib2/file

Phil]]></description>
		<content:encoded><![CDATA[<p>As Tom said, we need more specs.<br />
Do you need to process data from these files as if they were one file<br />
Or<br />
All data from lib1/file then all the data from lib2/file</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/same-file-in-different-libraries-and-file-is-defined-once-in-an-rpgle-program/#comment-99000</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sun, 13 Nov 2011 02:58:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-99000</guid>
		<description><![CDATA[&lt;i&gt;file is defined once&lt;/i&gt;

I didn&#039;t catch that part when I first read the question. After reading again, I&#039;m not clear on the point of the question.

Why is there a requirement for a single program definition when it&#039;s known that there are two files?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>file is defined once</i></p>
<p>I didn&#8217;t catch that part when I first read the question. After reading again, I&#8217;m not clear on the point of the question.</p>
<p>Why is there a requirement for a single program definition when it&#8217;s known that there are two files?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/same-file-in-different-libraries-and-file-is-defined-once-in-an-rpgle-program/#comment-98915</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 11 Nov 2011 00:57:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-98915</guid>
		<description><![CDATA[You can use OVRDBF for one or both files as long as the override is executed before the file is opened. Or you can use the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fbooks_web%2Fc0925086298.htm&quot;&gt;EXTFILE(filename) keyword&lt;/a&gt;, perhaps with a variable that holds a value in the &#039;libname/filename&#039; format.

The program file names will need to be different from each other.

You can use copies of the file descriptions and rename them to match the program file names in order to compile. (The copies only need the description; members aren&#039;t needed nor is any data needed.) If you can&#039;t create temporary file descriptions to compile over, you can issue OVRDBF commands in the job that does the compile.

Beyond those, use embedded SQL. You can use any file names and library names you need.

Tom]]></description>
		<content:encoded><![CDATA[<p>You can use OVRDBF for one or both files as long as the override is executed before the file is opened. Or you can use the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fbooks_web%2Fc0925086298.htm">EXTFILE(filename) keyword</a>, perhaps with a variable that holds a value in the &#8216;libname/filename&#8217; format.</p>
<p>The program file names will need to be different from each other.</p>
<p>You can use copies of the file descriptions and rename them to match the program file names in order to compile. (The copies only need the description; members aren&#8217;t needed nor is any data needed.) If you can&#8217;t create temporary file descriptions to compile over, you can issue OVRDBF commands in the job that does the compile.</p>
<p>Beyond those, use embedded SQL. You can use any file names and library names you need.</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.036 seconds using memcached
Object Caching 295/301 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 17:36:14 -->