 




<?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: CRTSQLRPGI</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/crtsqlrpgi/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/crtsqlrpgi/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 23:11:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/crtsqlrpgi/#comment-107745</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 25 May 2012 07:16:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-107745</guid>
		<description><![CDATA[&lt;i&gt;When compiling an RPGLE program with embedded SQL statements, how do you set the activation group? &lt;/i&gt;

WaltZ400&#039;s answer is the best choice, but it&#039;s not always possible. If you can&#039;t place the directives in the source, you can use the CRTSQLRPGI COMPILEOPT() parameter:&lt;pre&gt;
COMPILEOPT(&#039;DftActGrp(*No) ActGrp(myactgrp)&#039;)&lt;/pre&gt;
That parameter is used by the SQL precompiler to pass parms into the RPG compile.

&lt;i&gt;Now that I am on version 6.1, the exact same program will not run. Is there something different I have to do when compiling?&lt;/i&gt;

Probably.

But unless you tell us something about what happens, we have no way of guessing what should be done differently.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>When compiling an RPGLE program with embedded SQL statements, how do you set the activation group? </i></p>
<p>WaltZ400&#8242;s answer is the best choice, but it&#8217;s not always possible. If you can&#8217;t place the directives in the source, you can use the CRTSQLRPGI COMPILEOPT() parameter:
<pre>
COMPILEOPT('DftActGrp(*No) ActGrp(myactgrp)')</pre>
<p>That parameter is used by the SQL precompiler to pass parms into the RPG compile.</p>
<p><i>Now that I am on version 6.1, the exact same program will not run. Is there something different I have to do when compiling?</i></p>
<p>Probably.</p>
<p>But unless you tell us something about what happens, we have no way of guessing what should be done differently.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/crtsqlrpgi/#comment-107565</link>
		<dc:creator>splat</dc:creator>
		<pubDate>Thu, 17 May 2012 14:23:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-107565</guid>
		<description><![CDATA[What errors show in the job log (or program dump) when you try to run the program?]]></description>
		<content:encoded><![CDATA[<p>What errors show in the job log (or program dump) when you try to run the program?</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.012 seconds using memcached
Object Caching 283/284 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 00:49:40 -->