 




<?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: CPYF selecting a record by a variable</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/#comment-76450</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sun, 25 Apr 2010 07:57:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-76450</guid>
		<description><![CDATA[&lt;i&gt;...you need to clear (CLRPFM) the DLTOLDSPLF/REC_SFT file before you do the RUNQRY, unless you intend to ADD records to those already in that file.&lt;/i&gt;

RUNQRY allows OUTFILE( ... *RPLMBR) to replace records in a member. This eliminates a need to code a CLRPFM command.

And note that MOVSPLFBRM is only available for sites that have BRMS installed.

Tom


Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;you need to clear (CLRPFM) the DLTOLDSPLF/REC_SFT file before you do the RUNQRY, unless you intend to ADD records to those already in that file.</i></p>
<p>RUNQRY allows OUTFILE( &#8230; *RPLMBR) to replace records in a member. This eliminates a need to code a CLRPFM command.</p>
<p>And note that MOVSPLFBRM is only available for sites that have BRMS installed.</p>
<p>Tom</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sloopy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/#comment-53871</link>
		<dc:creator>sloopy</dc:creator>
		<pubDate>Wed, 11 Jun 2008 14:42:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-53871</guid>
		<description><![CDATA[Thanks! Martin and I will be over for a drink later....

:-D]]></description>
		<content:encoded><![CDATA[<p>Thanks! Martin and I will be over for a drink later&#8230;.</p>
<p> <img src='http://itknowledgeexchange.techtarget.com/itanswers/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: silvarb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/#comment-53838</link>
		<dc:creator>silvarb</dc:creator>
		<pubDate>Tue, 10 Jun 2008 14:30:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-53838</guid>
		<description><![CDATA[Sloopy 

Thanks for Your patiente and cooperation, You and Gilly400 are my best friends !!!

Regards,
Roberto]]></description>
		<content:encoded><![CDATA[<p>Sloopy </p>
<p>Thanks for Your patiente and cooperation, You and Gilly400 are my best friends !!!</p>
<p>Regards,<br />
Roberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/#comment-53762</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Fri, 06 Jun 2008 12:11:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-53762</guid>
		<description><![CDATA[Hi,

This should do what you want :-

&lt;pre&gt;CPYF FROMFILE(Yourfile) TOFILE(Newfile) CRTFILE(*YES) INCREL((*IF SPLDAT *EQ &amp;SYSDATE)) 
&lt;/pre&gt;

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This should do what you want :-</p>
<pre>CPYF FROMFILE(Yourfile) TOFILE(Newfile) CRTFILE(*YES) INCREL((*IF SPLDAT *EQ &amp;SYSDATE)) 
</pre>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: silvarb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cpyf-selecting-a-record-by-a-variable/#comment-53755</link>
		<dc:creator>silvarb</dc:creator>
		<pubDate>Thu, 05 Jun 2008 21:13:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-53755</guid>
		<description><![CDATA[have a Physical file and this phisical have this field:
&amp;SPLDAT *CHAR 6 SUBSTR(WRKSPLF,89,2)&#124;&#124; SUBSTR(WRKSPLF,86

I need read this file and compare if the field &amp;SPLDAT is equal the variable Sysdate, if this information is equal, only copy this records.


Thanks for Your help]]></description>
		<content:encoded><![CDATA[<p>have a Physical file and this phisical have this field:<br />
&amp;SPLDAT *CHAR 6 SUBSTR(WRKSPLF,89,2)|| SUBSTR(WRKSPLF,86</p>
<p>I need read this file and compare if the field &amp;SPLDAT is equal the variable Sysdate, if this information is equal, only copy this records.</p>
<p>Thanks for Your help</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 3/10 queries in 0.031 seconds using memcached
Object Caching 327/333 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 17:12:23 -->