 




<?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: cl</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/cl-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-7/</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 12:30:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-7/#comment-58816</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Wed, 24 Dec 2008 13:01:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-58816</guid>
		<description><![CDATA[Hi,

Yes, all of my previous posting can be done in CL - no need for any other programming languages.

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Yes, all of my previous posting can be done in CL &#8211; no need for any other programming languages.</p>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-7/#comment-58815</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Wed, 24 Dec 2008 12:33:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-58815</guid>
		<description><![CDATA[can this be developed using a cl code...because iam in the middle of a cl code where i have already built the member name.]]></description>
		<content:encoded><![CDATA[<p>can this be developed using a cl code&#8230;because iam in the middle of a cl code where i have already built the member name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-7/#comment-58812</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Wed, 24 Dec 2008 11:32:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-58812</guid>
		<description><![CDATA[Hi,

You&#039;ll need to get a list of members to process.  You can do this by using DSPFD to an output file, selecting the member list as the type of information.  Then you can read your output file into your CL program and check whether the date is older than 3 months, if it is, then you can remove that particular member with RMVM.

First establish your cutoff date - retrieve the current system date into a variable, substring the variable into separate year, month and day variables.  subtract 3 from your month field, if your month field is less than 1, add 12 to your month and subtract 1 from your year.  Now concatenate the year, month and date back together to give you your cutoff date.  Concatenate your member name for the cutoff date (&#039;AA&#039; + cutoff date).

Read your DSPFD output file, if the member name in the file is less than your member name with the cutoff date then you can remove it.

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You&#8217;ll need to get a list of members to process.  You can do this by using DSPFD to an output file, selecting the member list as the type of information.  Then you can read your output file into your CL program and check whether the date is older than 3 months, if it is, then you can remove that particular member with RMVM.</p>
<p>First establish your cutoff date &#8211; retrieve the current system date into a variable, substring the variable into separate year, month and day variables.  subtract 3 from your month field, if your month field is less than 1, add 12 to your month and subtract 1 from your year.  Now concatenate the year, month and date back together to give you your cutoff date.  Concatenate your member name for the cutoff date (&#8216;AA&#8217; + cutoff date).</p>
<p>Read your DSPFD output file, if the member name in the file is less than your member name with the cutoff date then you can remove it.</p>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-7/#comment-58811</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Wed, 24 Dec 2008 10:40:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-58811</guid>
		<description><![CDATA[the below code was a bad logic....the count will always remain1 during every run...just so confused :)]]></description>
		<content:encoded><![CDATA[<p>the below code was a bad logic&#8230;.the count will always remain1 during every run&#8230;just so confused <img src='http://itknowledgeexchange.techtarget.com/itanswers/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson123</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-7/#comment-58810</link>
		<dc:creator>Anderson123</dc:creator>
		<pubDate>Wed, 24 Dec 2008 10:01:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-58810</guid>
		<description><![CDATA[I tried doing thsi..not sure if this is right approach

ADDPFM     FILE(SAAPH) MBR(&amp;MEMNAM)    
CHGVAR     VAR(&amp;COUNT) VALUE(&amp;COUNT+1) 
IF         COND(&amp;COUNT *GT 90) THEN(DO)
IF         COND(&amp;COUNT *GT 90) THEN(DO)
CHGVAR     VAR(&amp;COUNT) VALUE(0)        
RMVM       FILE(SAAPAH) MBR(*ALL)      ---------------------------here i need to retain the member generated currently,,,,

how do i do that..........is there any other logic]]></description>
		<content:encoded><![CDATA[<p>I tried doing thsi..not sure if this is right approach</p>
<p>ADDPFM     FILE(SAAPH) MBR(&amp;MEMNAM)<br />
CHGVAR     VAR(&amp;COUNT) VALUE(&amp;COUNT+1)<br />
IF         COND(&amp;COUNT *GT 90) THEN(DO)<br />
IF         COND(&amp;COUNT *GT 90) THEN(DO)<br />
CHGVAR     VAR(&amp;COUNT) VALUE(0)<br />
RMVM       FILE(SAAPAH) MBR(*ALL)      &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;here i need to retain the member generated currently,,,,</p>
<p>how do i do that&#8230;&#8230;&#8230;.is there any other logic</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.042 seconds using memcached
Object Caching 327/333 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 12:31:46 -->