<?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: SQLRPGLE Error in UPDATE Query</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 04:41:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/#comment-89392</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 14 Mar 2011 23:33:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-89392</guid>
		<description><![CDATA[&lt;i&gt;...Updates a 3 fiels in a file with 30 fields.&lt;/i&gt;

If I understand correctly, you&#039;re saying that the file has 30 fields and that your program updates three of those field.&lt;pre&gt;
UPDATE TABLE1
 SET
    TXDATE = :SYSDATE,
    TXTIME = :SYSTIME,
    SETFLAG = :w_Set,
    MSG = :w_ERR,
    Comment = &#039; &#039;
 WHERE ID = :W_ID&lt;/pre&gt;
That&#039;s the UPDATE statement after a little reformatting. It looks as if it is updating &lt;b&gt;five&lt;/b&gt; fields.

Was &quot;3 fields&quot; a typo? Or is it not expected that it&#039;s really five fields?

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;Updates a 3 fiels in a file with 30 fields.</i></p>
<p>If I understand correctly, you&#8217;re saying that the file has 30 fields and that your program updates three of those field.
<pre>
UPDATE TABLE1
 SET
    TXDATE = :SYSDATE,
    TXTIME = :SYSTIME,
    SETFLAG = :w_Set,
    MSG = :w_ERR,
    Comment = ' '
 WHERE ID = :W_ID</pre>
<p>That&#8217;s the UPDATE statement after a little reformatting. It looks as if it is updating <b>five</b> fields.</p>
<p>Was &#8220;3 fields&#8221; a typo? Or is it not expected that it&#8217;s really five fields?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sim400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/#comment-89352</link>
		<dc:creator>sim400</dc:creator>
		<pubDate>Sun, 13 Mar 2011 19:08:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-89352</guid>
		<description><![CDATA[My OS is V5R4M0 and program compiled with Target Release *CURRENT. I don&#039;t have authority to check PTF details. I will check with my Admin and update again.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>My OS is V5R4M0 and program compiled with Target Release *CURRENT. I don&#8217;t have authority to check PTF details. I will check with my Admin and update again.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/#comment-89269</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 11 Mar 2011 08:04:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-89269</guid>
		<description><![CDATA[What OS version is the program compiled for? What is the DB2 group PTF level on the two systems?

Tom]]></description>
		<content:encoded><![CDATA[<p>What OS version is the program compiled for? What is the DB2 group PTF level on the two systems?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charliebrowne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/#comment-89260</link>
		<dc:creator>charliebrowne</dc:creator>
		<pubDate>Fri, 11 Mar 2011 04:12:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-89260</guid>
		<description><![CDATA[Next thing I would check is by going into debug, and check the values of your vaiables.
Interactively, you had actual values, in the RPG, something is not set correctly. I would also guess that your program may be receiving parms and they may not be corrrect. Either one of these two things would cause a a pointer problem.]]></description>
		<content:encoded><![CDATA[<p>Next thing I would check is by going into debug, and check the values of your vaiables.<br />
Interactively, you had actual values, in the RPG, something is not set correctly. I would also guess that your program may be receiving parms and they may not be corrrect. Either one of these two things would cause a a pointer problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sim400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/#comment-89256</link>
		<dc:creator>sim400</dc:creator>
		<pubDate>Fri, 11 Mar 2011 00:37:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-89256</guid>
		<description><![CDATA[Hi Charlie,

I have run the same statement from interactive SQL. It runs fine. It updates the record.
But I get this error when I run my SQL RPGLE.]]></description>
		<content:encoded><![CDATA[<p>Hi Charlie,</p>
<p>I have run the same statement from interactive SQL. It runs fine. It updates the record.<br />
But I get this error when I run my SQL RPGLE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sim400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-error-in-update-query/#comment-89255</link>
		<dc:creator>sim400</dc:creator>
		<pubDate>Fri, 11 Mar 2011 00:35:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-89255</guid>
		<description><![CDATA[Hi Charlie,

I have run the same statement from interactive SQL. It runs fine. It updates the record.]]></description>
		<content:encoded><![CDATA[<p>Hi Charlie,</p>
<p>I have run the same statement from interactive SQL. It runs fine. It updates the record.</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/9 queries in 0.011 seconds using memcached
Object Caching 338/341 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-18 04:53:40 -->