 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; C+</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/c-plus/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 14:27:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>SQL in an SQLRPGLE program</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-in-an-sqlrpgle-program/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-in-an-sqlrpgle-program/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 07:35:38 +0000</pubDate>
		<dc:creator>Alpfalpf</dc:creator>
				<category><![CDATA[C+]]></category>
		<category><![CDATA[Embedded SQL]]></category>
		<category><![CDATA[LIKE statement]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL/400]]></category>
		<category><![CDATA[SQLRPGLE]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want to use embedded SQL in an SQLRPGLE program to search a file for a field entered in a screen to select data using the LIKE operand. This is my code C/EXEC SQL C+ DECLARE C1 CURSOR FOR SELECT * FROM F0101JN WHERE ALADDZ = :SZIP C+ AND ABALPH LIKE :SINNME ORDER BY ABAN8 [...]]]></description>
				<content:encoded><![CDATA[<p>I want to use embedded SQL in an SQLRPGLE program to search a file for a field entered in a screen to select data using the LIKE operand.</p>
<p>This is my code</p>
<p> C/EXEC SQL<br />
 C+ DECLARE C1 CURSOR FOR SELECT * FROM F0101JN WHERE ALADDZ = :SZIP<br />
 C+ AND ABALPH LIKE :SINNME ORDER BY ABAN8<br />
 C/END-EXEC<br />
  *<br />
I entered %VALLEY% into screen field SINNME but the statement did not select any records.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-in-an-sqlrpgle-program/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Fetch to datastructure in RPG/400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/fetch-to-datastructure-in-rpg400/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/fetch-to-datastructure-in-rpg400/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 12:50:03 +0000</pubDate>
		<dc:creator>Alicsc</dc:creator>
				<category><![CDATA[C+]]></category>
		<category><![CDATA[Data structures]]></category>
		<category><![CDATA[RPG]]></category>
		<category><![CDATA[RPG/400]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have one rpg pgm in which I am creating a cursor on select to slect some records.After then I am opening cursor and fetching its data to an external data structure.Now my question is whether the external data structure takes only one record(first record) or it will have all records selected through select ststament. [...]]]></description>
				<content:encoded><![CDATA[<p>I have one rpg pgm in which I am creating a cursor on select to slect some records.After then I am opening cursor and fetching its data to an external data structure.Now my question is whether the external data structure takes only one record(first record) or it will have all records selected through select ststament.<br />
Example code:<br />
ITXREC     E DSFKITSAVE<br />
&#8230;&#8230;<br />
&#8230;&#8230;.<br />
C/EXEC SQL<br />
C+        declare HIST cursor for<br />
C+        select *from   FKITSAVE<br />
C+        where TSCO=:UPINT and TSTTYP=:TYP.<br />
&#8230;&#8230;&#8230;&#8230;<br />
fetch HIST into :TXREC</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/fetch-to-datastructure-in-rpg400/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</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/13 queries in 0.052 seconds using memcached
Object Caching 387/401 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 16:58:20 -->