<?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 to pass DATA AREA to RPGLE PROGRAM</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-pass-data-area-to-rpgle-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pass-data-area-to-rpgle-program/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 19:19:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pass-data-area-to-rpgle-program/#comment-76791</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 04 May 2010 07:37:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-76791</guid>
		<description><![CDATA[&lt;i&gt;Data Areas in your library list are accessible to all programs&lt;/i&gt;
&lt;i&gt;You CAN access a data area which is not in your library list, by using the RTVDTAARA CL command.&lt;/i&gt;

RPG has allowed reference to data areas through variable names since V5R3. The variable may have the name in the form &#039;LIBRARY/DTAANAME&#039;. That is, it does not have to be in your library list and you don&#039;t need to use RTVDTAARA.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>Data Areas in your library list are accessible to all programs</i><br />
<i>You CAN access a data area which is not in your library list, by using the RTVDTAARA CL command.</i></p>
<p>RPG has allowed reference to data areas through variable names since V5R3. The variable may have the name in the form &#8216;LIBRARY/DTAANAME&#8217;. That is, it does not have to be in your library list and you don&#8217;t need to use RTVDTAARA.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sloopy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pass-data-area-to-rpgle-program/#comment-55081</link>
		<dc:creator>sloopy</dc:creator>
		<pubDate>Fri, 25 Jul 2008 13:43:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-55081</guid>
		<description><![CDATA[It sounds as if you want to use the contents of the data area when you call the program from the command line, and you don&#039;t want to write a CL program, and you don&#039;t want to declare the data area in your program.

Well, there are only two ways to do that. First is to look at the data area, see what the value is, and use that value in the parameter list.

Second is to change your mind and write a CL program or declare the data area in your program.

You CAN access a data area which is not in your library list, by using the RTVDTAARA CL command. You can only use this in a CL program.

Is there some specific reason why you don&#039;t want to use a CL program or declare the data area in the RPG code? If so, please let us know. It won&#039;t make any difference to the answers, though.

Regards,

Sloopy]]></description>
		<content:encoded><![CDATA[<p>It sounds as if you want to use the contents of the data area when you call the program from the command line, and you don&#8217;t want to write a CL program, and you don&#8217;t want to declare the data area in your program.</p>
<p>Well, there are only two ways to do that. First is to look at the data area, see what the value is, and use that value in the parameter list.</p>
<p>Second is to change your mind and write a CL program or declare the data area in your program.</p>
<p>You CAN access a data area which is not in your library list, by using the RTVDTAARA CL command. You can only use this in a CL program.</p>
<p>Is there some specific reason why you don&#8217;t want to use a CL program or declare the data area in the RPG code? If so, please let us know. It won&#8217;t make any difference to the answers, though.</p>
<p>Regards,</p>
<p>Sloopy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pass-data-area-to-rpgle-program/#comment-55075</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Fri, 25 Jul 2008 09:18:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-55075</guid>
		<description><![CDATA[Hi,

Slight amendment to above statement :-

Data Areas are accessible to all programs

Should read 

Data Areas &lt;b&gt;in your library list &lt;/b&gt;are accessible to all programs

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Slight amendment to above statement :-</p>
<p>Data Areas are accessible to all programs</p>
<p>Should read </p>
<p>Data Areas <b>in your library list </b>are accessible to all programs</p>
<p>Regards,</p>
<p>Martin Gilbert.</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.011 seconds using memcached
Object Caching 297/298 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 22:32:12 -->