 




<?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 do I start a query on AS/400 with a parameter</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/variable-in-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/variable-in-query/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 01:03:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/variable-in-query/#comment-101827</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 19 Jan 2012 07:39:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-101827</guid>
		<description><![CDATA[Review the Query reference manual for the use of &#039;dependent values&#039;. Since you need to have the Query for i product in order to have the current reference manual, and I don&#039;t have the product, you&#039;ll have to tell me how to do it. (You do have the manual, right?)

But &#039;dependent values&#039; were intended to be used in queries for the Office Vision product which is no longer available. In order to use those queries, you have to execute them with Query Manager. You execute them the same way you would execute a normal QM query with parameters -- with the STRQMQRY command.

And since it&#039;s easier to create QM queries that accept parameters than to create Query for i queries (and you can create QM queries without licensing an additional product that is less capable and harder to use than QM), and QM queries can be created on more systems than Query for i queries, why would you ever use Query for i?

BTW, if you want to use a Query for i query with parameters, you can&#039;t use the RUNQRY RCDSLT() parameter.

Tom]]></description>
		<content:encoded><![CDATA[<p>Review the Query reference manual for the use of &#8216;dependent values&#8217;. Since you need to have the Query for i product in order to have the current reference manual, and I don&#8217;t have the product, you&#8217;ll have to tell me how to do it. (You do have the manual, right?)</p>
<p>But &#8216;dependent values&#8217; were intended to be used in queries for the Office Vision product which is no longer available. In order to use those queries, you have to execute them with Query Manager. You execute them the same way you would execute a normal QM query with parameters &#8212; with the STRQMQRY command.</p>
<p>And since it&#8217;s easier to create QM queries that accept parameters than to create Query for i queries (and you can create QM queries without licensing an additional product that is less capable and harder to use than QM), and QM queries can be created on more systems than Query for i queries, why would you ever use Query for i?</p>
<p>BTW, if you want to use a Query for i query with parameters, you can&#8217;t use the RUNQRY RCDSLT() parameter.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/variable-in-query/#comment-101824</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Thu, 19 Jan 2012 06:42:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-101824</guid>
		<description><![CDATA[i think, just use WRKQRY to make report, after run your query....]]></description>
		<content:encoded><![CDATA[<p>i think, just use WRKQRY to make report, after run your query&#8230;.</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 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 02:19:30 -->