<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: caculating 'exit load' based on dates !!! in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127190#M34831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at least in SQL...!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 11:12:14 GMT</pubDate>
    <dc:creator>allurai0412</dc:creator>
    <dc:date>2013-01-17T11:12:14Z</dc:date>
    <item>
      <title>caculating 'exit load' based on dates !!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127189#M34830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have some query&amp;nbsp; how to generate the required output in PROC REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have1;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input trdatedate9. trtype$ BROKER$8. FOLIONO&amp;nbsp; tramount&lt;BR /&gt;datalines;&lt;BR /&gt;24/02/2008 SWITCH&amp;nbsp;&amp;nbsp; ARN-0010&amp;nbsp; 4278998 5000.00&lt;BR /&gt;01/01/2008 PURCHASE ARN-0022&amp;nbsp; 4897722 7875.56&lt;BR /&gt;01/03/2009 PURCHASE ARN-0010&amp;nbsp; 4222111 4500.00&lt;BR /&gt;02/04/2009 PURCHASE 000-000&amp;nbsp;&amp;nbsp; 4555689 7899.00 &lt;BR /&gt;12/04/2007 SWITCH&amp;nbsp;&amp;nbsp; ARN-0012&amp;nbsp; 4121212 4555.00&lt;BR /&gt;12/04/2007 SWITCH&amp;nbsp;&amp;nbsp; 0000-0000 4787878 45651.00&lt;BR /&gt;01/08/2011 PURCHASE ARN-23587 4787872 12780.00&lt;BR /&gt;25/01/2012 SWITCH&amp;nbsp;&amp;nbsp; ARN-0018&amp;nbsp; 4878123 10000.00&lt;BR /&gt;24/10/2010 PURCHASE ARN-0025&amp;nbsp; 4666667 7800000.00 &lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************************output required*************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I NEED THE OUTPUT THRU PROC REPORT &lt;/P&gt;&lt;P&gt;LIKE&amp;nbsp; FOLLWING&lt;/P&gt;&lt;P&gt;FOLIONO&amp;nbsp; EXITLOAD &lt;BR /&gt;4278998&amp;nbsp; ....&lt;BR /&gt;4897722&amp;nbsp; ...&lt;BR /&gt;4222111&amp;nbsp; ...&lt;BR /&gt;4555689&amp;nbsp; NIL&lt;BR /&gt;4121212&amp;nbsp; ...&lt;BR /&gt;4787878&amp;nbsp; NIL&lt;BR /&gt;4787872&amp;nbsp; ...&lt;BR /&gt;4878123&amp;nbsp; ...&lt;BR /&gt;4666667&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;CONDITIONS TO BE MATCHED :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* customers with BROKER CODE ....000-000 at any trdate , they will have "NO LOAD"&lt;/P&gt;&lt;P&gt;* THOSE WHO HAS GOT IN TO THE FUND..... 3 YEARS AGO WILL have " NO LOAD"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i.e earlier 16/01/2010&lt;/P&gt;&lt;P&gt;* Those who has got in to the fund after 17/01/2010 will have&amp;nbsp; exit load "2%" of tramount.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;reagards&lt;/P&gt;&lt;P&gt;ALLU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 14:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127189#M34830</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-01-16T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: caculating 'exit load' based on dates !!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127190#M34831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at least in SQL...!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127190#M34831</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-01-17T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: caculating 'exit load' based on dates !!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127191#M34832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; test &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; *,case&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;when&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;(substr(broker,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'000'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;)&amp;gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;0&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'NO LOAD'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;when&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; trdate le (intnx(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'year'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;, today(), -&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'s'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;'NO LOAD'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; strip(put(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;0.02&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;*tramount,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;best.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; EXITLOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; have1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; FOLIONO,EXITLOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:57:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127191#M34832</guid>
      <dc:creator>sam369</dc:creator>
      <dc:date>2013-01-17T15:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: caculating 'exit load' based on dates !!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127192#M34833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 10:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/caculating-exit-load-based-on-dates/m-p/127192#M34833</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-02-01T10:28:56Z</dc:date>
    </item>
  </channel>
</rss>

