<?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: How can I open file from another library in RPG program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 11:12:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Senior1systemanalyst</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113376</link>
		<dc:creator>Senior1systemanalyst</dc:creator>
		<pubDate>Wed, 14 Nov 2012 14:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113376</guid>
		<description><![CDATA[thanks Tom for clarifications.Tarek ]]></description>
		<content:encoded><![CDATA[<p>thanks Tom for clarifications.Tarek </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113366</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Wed, 14 Nov 2012 06:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113366</guid>
		<description><![CDATA[&lt;EM&gt;The message appeared was: ‘A right parenthesis is expected but is not found’...&lt;/EM&gt;
&#160;
Message text is often less helpful than the message identifier. Different messages can have the same text.
&#160;
&lt;EM&gt;when I used keyword&#160; EXTFIL(Library_Name/FILE_Nam)...&lt;/EM&gt;
&#160;
In this case, the message text is helpful. You didn&#039;t show enough for us to see what Library_Name and FILE_Nam are, but now the text helps.
&#160;
You can&#039;t use two variables for library and file. You can only use a single variable to hold the entire name. When the compiler found the variable Library_Name, the next thing it expected to find was a right-parenthesis. Instead it found a slash character, &quot;/&quot;. The compiler didn&#039;t know what to do with the slash, so it told you what it expected to find that was missing.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>The message appeared was: ‘A right parenthesis is expected but is not found’&#8230;</em><br />
&nbsp;<br />
Message text is often less helpful than the message identifier. Different messages can have the same text.<br />
&nbsp;<br />
<em>when I used keyword&nbsp; EXTFIL(Library_Name/FILE_Nam)&#8230;</em><br />
&nbsp;<br />
In this case, the message text is helpful. You didn&#8217;t show enough for us to see what Library_Name and FILE_Nam are, but now the text helps.<br />
&nbsp;<br />
You can&#8217;t use two variables for library and file. You can only use a single variable to hold the entire name. When the compiler found the variable Library_Name, the next thing it expected to find was a right-parenthesis. Instead it found a slash character, &#8220;/&#8221;. The compiler didn&#8217;t know what to do with the slash, so it told you what it expected to find that was missing.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Senior1systemanalyst</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113365</link>
		<dc:creator>Senior1systemanalyst</dc:creator>
		<pubDate>Wed, 14 Nov 2012 05:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113365</guid>
		<description><![CDATA[&lt;!--[if gte mso 9]&gt;--&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  AR-SA
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  


Correction: EXTFILE

&lt;!--[if gte mso 9]&gt;--&gt;
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
&lt;!--[if gte mso 10]&gt;--&gt;

 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;}

]]></description>
		<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;--></p>
<p>  Normal<br />
  0</p>
<p>  false<br />
  false<br />
  false</p>
<p>  EN-US<br />
  X-NONE<br />
  AR-SA</p>
<p>  MicrosoftInternetExplorer4</p>
<p>Correction: EXTFILE</p>
<p><!--[if gte mso 9]&gt;--></p>
<p><!--[if gte mso 10]&gt;--></p>
<p> /* Style Definitions */<br />
 table.MsoNormalTable<br />
	{mso-style-name:&#8221;Table Normal&#8221;;<br />
	mso-tstyle-rowband-size:0;<br />
	mso-tstyle-colband-size:0;<br />
	mso-style-noshow:yes;<br />
	mso-style-priority:99;<br />
	mso-style-qformat:yes;<br />
	mso-style-parent:&#8221;";<br />
	mso-padding-alt:0in 5.4pt 0in 5.4pt;<br />
	mso-para-margin-top:0in;<br />
	mso-para-margin-right:0in;<br />
	mso-para-margin-bottom:10.0pt;<br />
	mso-para-margin-left:0in;<br />
	line-height:115%;<br />
	mso-pagination:widow-orphan;<br />
	font-size:11.0pt;<br />
	font-family:&#8221;Calibri&#8221;,&#8221;sans-serif&#8221;;<br />
	mso-ascii-font-family:Calibri;<br />
	mso-ascii-theme-font:minor-latin;<br />
	mso-fareast-font-family:&#8221;Times New Roman&#8221;;<br />
	mso-fareast-theme-font:minor-fareast;<br />
	mso-hansi-font-family:Calibri;<br />
	mso-hansi-theme-font:minor-latin;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Senior1systemanalyst</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113364</link>
		<dc:creator>Senior1systemanalyst</dc:creator>
		<pubDate>Wed, 14 Nov 2012 05:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113364</guid>
		<description><![CDATA[Gents
The message appeared was: ‘A right parenthesis is
expected but is not found’ &#160;when I used
keyword&#160; EXTFIL(Library_Name/FILE_Nam)
However, the below commands used and it works fine.
FCUSTMAST&#160;&#160;IF&#160;&#160;&#160;E&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;K&#160;DISK&#160;&#160;&#160;&#160;EXTFILE (myFile)&#160;
D&#160;myFile&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;S&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;21A&#160;&#160;&#160;Inz(‘KINPLIV/CUSTMAST’)
Many thanks… for your attention 
Tarek]]></description>
		<content:encoded><![CDATA[<p>Gents<br />
The message appeared was: ‘A right parenthesis is<br />
expected but is not found’ &nbsp;when I used<br />
keyword&nbsp; EXTFIL(Library_Name/FILE_Nam)<br />
However, the below commands used and it works fine.<br />
FCUSTMAST&nbsp;&nbsp;IF&nbsp;&nbsp;&nbsp;E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;K&nbsp;DISK&nbsp;&nbsp;&nbsp;&nbsp;EXTFILE (myFile)&nbsp;<br />
D&nbsp;myFile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;21A&nbsp;&nbsp;&nbsp;Inz(‘KINPLIV/CUSTMAST’)<br />
Many thanks… for your attention<br />
Tarek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113350</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 13 Nov 2012 19:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113350</guid>
		<description><![CDATA[Note that USROPN should only be required if the value of EXTFILE() is variable. If it&#039;s constant, it can have the appropriate value at the time files are opened by the Cycle. -- Toml]]></description>
		<content:encoded><![CDATA[<p>Note that USROPN should only be required if the value of EXTFILE() is variable. If it&#8217;s constant, it can have the appropriate value at the time files are opened by the Cycle. &#8212; Toml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113343</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 13 Nov 2012 16:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113343</guid>
		<description><![CDATA[hellofriends
That&#039;s very nice but&#160;your code&#160;requires USROPN on the F spec and Open File1 in the C-spec.&#160; Files that aren&#039;t USROPN are opened by the cycle ... before any C spec&#039;s are run and while it&#039;s open it isn&#039;t going to &quot;re-target&quot;.
&#160;]]></description>
		<content:encoded><![CDATA[<p>hellofriends<br />
That&#8217;s very nice but&nbsp;your code&nbsp;requires USROPN on the F spec and Open File1 in the C-spec.&nbsp; Files that aren&#8217;t USROPN are opened by the cycle &#8230; before any C spec&#8217;s are run and while it&#8217;s open it isn&#8217;t going to &#8220;re-target&#8221;.<br />
&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hellofriends</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113342</link>
		<dc:creator>hellofriends</dc:creator>
		<pubDate>Tue, 13 Nov 2012 16:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113342</guid>
		<description><![CDATA[try this below mentioned way... it&#160;definitely works.&lt;div&gt;FFile &#160;I F &#160; E &#160; &#160; &#160;K &#160; &#160;Disk EXTFILE(@Lib)&lt;/div&gt;&lt;div&gt;D@Lib1 &#160; &#160; &#160;S &#160; &#160; &#160; &#160;30A &#160;&lt;/div&gt;&lt;div&gt;C*&lt;/div&gt;&lt;div&gt;C &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Eval &#160; @Lib = &#039;Library1/FIle name&#039;&lt;/div&gt;]]></description>
		<content:encoded><![CDATA[<p>try this below mentioned way&#8230; it&nbsp;definitely works.
<div>FFile &nbsp;I F &nbsp; E &nbsp; &nbsp; &nbsp;K &nbsp; &nbsp;Disk EXTFILE(@Lib)</div>
<div>D@Lib1 &nbsp; &nbsp; &nbsp;S &nbsp; &nbsp; &nbsp; &nbsp;30A &nbsp;</div>
<div>C*</div>
<div>C &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Eval &nbsp; @Lib = &#8216;Library1/FIle name&#8217;</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113341</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Tue, 13 Nov 2012 16:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113341</guid>
		<description><![CDATA[Forgot to add you would still need to make the file user controlled and then do the file override to the other library , open file and close file commands manually.]]></description>
		<content:encoded><![CDATA[<p>Forgot to add you would still need to make the file user controlled and then do the file override to the other library , open file and close file commands manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113340</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Tue, 13 Nov 2012 16:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113340</guid>
		<description><![CDATA[Another option is to do an OVRDBF in the RPG using the QCMDEXEC command. Are you locked into doing this a specific way ?]]></description>
		<content:encoded><![CDATA[<p>Another option is to do an OVRDBF in the RPG using the QCMDEXEC command. Are you locked into doing this a specific way ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113324</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Mon, 12 Nov 2012 20:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-can-i-open-file-from-another-library-in-rpg-program/#comment-113324</guid>
		<description><![CDATA[We&#039;ll need more - F specs, D specs, C specs that relate to this issue.]]></description>
		<content:encoded><![CDATA[<p>We&#8217;ll need more &#8211; F specs, D specs, C specs that relate to this issue.</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/8 queries in 0.010 seconds using memcached
Object Caching 395/396 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 12:22:52 -->