 




<?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: OPNQRYF HOW?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-how/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-how/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 05:05:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: rudedog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-how/#comment-78941</link>
		<dc:creator>rudedog</dc:creator>
		<pubDate>Wed, 07 Jul 2010 02:49:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-78941</guid>
		<description><![CDATA[*CAT and %SST will get you what you need.

remember though, that you need to convert the numeric date to an alpha field because of the way *CAT, *BCAT and *TCAT, and %SST work.

-Sarge]]></description>
		<content:encoded><![CDATA[<p>*CAT and %SST will get you what you need.</p>
<p>remember though, that you need to convert the numeric date to an alpha field because of the way *CAT, *BCAT and *TCAT, and %SST work.</p>
<p>-Sarge</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-how/#comment-78940</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Wed, 07 Jul 2010 02:23:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-78940</guid>
		<description><![CDATA[Greatest movie line --
&quot;Badges?... We don&#039;t need no... stinkin&#039; badges!&quot;
 The Treasure of the Sierra Madre 1948

How did (Humphrey Bogart get into movies with such wonderful lines.
&quot;You know how to whistle&quot;
&quot;the stuff that dreams are made of&quot;
&quot;Louis, I think this is the beginning of a beautiful friendship&quot;
Phil]]></description>
		<content:encoded><![CDATA[<p>Greatest movie line &#8211;<br />
&#8220;Badges?&#8230; We don&#8217;t need no&#8230; stinkin&#8217; badges!&#8221;<br />
 The Treasure of the Sierra Madre 1948</p>
<p>How did (Humphrey Bogart get into movies with such wonderful lines.<br />
&#8220;You know how to whistle&#8221;<br />
&#8220;the stuff that dreams are made of&#8221;<br />
&#8220;Louis, I think this is the beginning of a beautiful friendship&#8221;<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-how/#comment-78939</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Wed, 07 Jul 2010 02:11:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-78939</guid>
		<description><![CDATA[OK .. If wndate was 20100706 Then is qryslt could be ...
 mvdatl *GE 20100701 *and  mvdatl *LE 20100731 

dcl wndatec  *char  8
dcl wndat01 *char 8
dcl windat31 *char 8
chgvar wndatec windate
chgvar wndat01 (%sst(windatec 1 6) *tcat &#039;01)
chgvar wndat31 (%sst(windatec 1 6) *tcat &#039;31)
...
qryslt (&#039;mvdatl *GE &#039; *cat wndat01 *cat  &#039;*and  mvdatl *LE&#039; *cat wndat31) 

This time we don&#039;t need no stinkin &#039;&#039;&#039; because the field mvdatl isn&#039;t character.
Phil]]></description>
		<content:encoded><![CDATA[<p>OK .. If wndate was 20100706 Then is qryslt could be &#8230;<br />
 mvdatl *GE 20100701 *and  mvdatl *LE 20100731 </p>
<p>dcl wndatec  *char  8<br />
dcl wndat01 *char 8<br />
dcl windat31 *char 8<br />
chgvar wndatec windate<br />
chgvar wndat01 (%sst(windatec 1 6) *tcat &#8217;01)<br />
chgvar wndat31 (%sst(windatec 1 6) *tcat &#8217;31)<br />
&#8230;<br />
qryslt (&#8216;mvdatl *GE &#8216; *cat wndat01 *cat  &#8216;*and  mvdatl *LE&#8217; *cat wndat31) </p>
<p>This time we don&#8217;t need no stinkin &#8221;&#8217; because the field mvdatl isn&#8217;t character.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: znason</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/opnqryf-how/#comment-78908</link>
		<dc:creator>znason</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:35:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-78908</guid>
		<description><![CDATA[OPNQRYR compare example............... Bob 

   OPNQRYF FILE(DBALIB/GWHFMSTR)                       +             
               OPTION(*INP)                                  +        
               FORMAT(DBALIB/GWHFMSTR)                     +          
               QRYSLT(&#039;MBLIB *EQ                            +         
                      &quot;&#039; *CAT &amp;LIBNAME *CAT &#039;&quot; *AND +                 
                      MBFILE *EQ &quot;&#039; *CAT &amp;FILENAME *CAT &#039;&quot;&#039;)          
/*                                                                  */
      CPYFRMQRYF FROMOPNID(GWHFMSTR) TOFILE(DBALIB/GWHBYFILE) +       
                 MBROPT(*REPLACE) CRTFILE(*YES) +                     
                 FMTOPT(*NOCHK)]]></description>
		<content:encoded><![CDATA[<p>OPNQRYR compare example&#8230;&#8230;&#8230;&#8230;&#8230; Bob </p>
<p>   OPNQRYF FILE(DBALIB/GWHFMSTR)                       +<br />
               OPTION(*INP)                                  +<br />
               FORMAT(DBALIB/GWHFMSTR)                     +<br />
               QRYSLT(&#8216;MBLIB *EQ                            +<br />
                      &#8220;&#8216; *CAT &amp;LIBNAME *CAT &#8216;&#8221; *AND +<br />
                      MBFILE *EQ &#8220;&#8216; *CAT &amp;FILENAME *CAT &#8216;&#8221;&#8216;)<br />
/*                                                                  */<br />
      CPYFRMQRYF FROMOPNID(GWHFMSTR) TOFILE(DBALIB/GWHBYFILE) +<br />
                 MBROPT(*REPLACE) CRTFILE(*YES) +<br />
                 FMTOPT(*NOCHK)</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.013 seconds using memcached
Object Caching 310/313 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 05:57:53 -->