<?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: Select end month dates from daily data for each company in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167018#M263867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I would be hugely grateful, if you could please help me with the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;For a particular year, I have daily series of companies,days and other variables. The dataset is sorted by companies. In other words, I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Row&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Days&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company&amp;nbsp; Variable1 Variable2 Variable3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Then for exactly the same days, I have firm 2. My aim is to take only observations for 31/07/2000, 31/08/2000 for firm 1, then take observations that belong to end month dates (i.e. to 31/07/2000, 31/08/2000) for firm 2, then for firm 3 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE QUESTION MENTIONED ABOVE IS ANSWERED, COULD YOU PLEASE ANSWER THE QUESTION BELOW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some months (except Feb), the end is not on 31st or 30th, but on 29th or 28th. For instance, for Jan 1998 in my sample, the end is on 30th of January and using your codes, I cannot extract 30th of January. SAS just skips January and moves to February or March (to months where the end is 30th or 31st). Any ideas how I can solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would hugely appreciate any help. Thank a lot for all replies regarding the first question. I found all your codes extremely useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ruslan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2014 13:31:58 GMT</pubDate>
    <dc:creator>Ruslan</dc:creator>
    <dc:date>2014-07-04T13:31:58Z</dc:date>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167018#M263867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I would be hugely grateful, if you could please help me with the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;For a particular year, I have daily series of companies,days and other variables. The dataset is sorted by companies. In other words, I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Row&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Days&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company&amp;nbsp; Variable1 Variable2 Variable3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Then for exactly the same days, I have firm 2. My aim is to take only observations for 31/07/2000, 31/08/2000 for firm 1, then take observations that belong to end month dates (i.e. to 31/07/2000, 31/08/2000) for firm 2, then for firm 3 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE QUESTION MENTIONED ABOVE IS ANSWERED, COULD YOU PLEASE ANSWER THE QUESTION BELOW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some months (except Feb), the end is not on 31st or 30th, but on 29th or 28th. For instance, for Jan 1998 in my sample, the end is on 30th of January and using your codes, I cannot extract 30th of January. SAS just skips January and moves to February or March (to months where the end is 30th or 31st). Any ideas how I can solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would hugely appreciate any help. Thank a lot for all replies regarding the first question. I found all your codes extremely useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ruslan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167018#M263867</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167019#M263868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe have a look at intnx: &lt;A href="http://www.datimpact.be/tips/finding-the-last-day-of-the-month-in-sas-using-intnx.php"&gt;http://www.datimpact.be/tips/finding-the-last-day-of-the-month-in-sas-using-intnx.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or: &lt;A class="active_link" href="https://philihp.com/blog/2011/how-to-get-the-last-day-of-a-month-in-sas/"&gt;https://philihp.com/blog/2011/how-to-get-the-last-day-of-a-month-in-sas/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167019#M263868</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-04T13:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167020#M263869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #008f00;"&gt;&lt;SPAN style="color: #011993;"&gt;I have tried this, but it still skips January and goes to March. Could you please correct the code or suggest an alternative? Thanks in advance!!!&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #008f00;"&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #008f00;"&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; want; &lt;/SPAN&gt;/* take end of month for each company */&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;set&lt;/SPAN&gt; have;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;if&lt;/SPAN&gt; date~=(intnx(&lt;SPAN style="color: #942193;"&gt;'month'&lt;/SPAN&gt;, date, 1)-1) &lt;SPAN style="color: #0433ff;"&gt;then&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;delete&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 14:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167020#M263869</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T14:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167021#M263870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the other example given:&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if date ne intnx(‘month’,date,0,’e’) then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you the last day in the month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 14:22:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167021#M263870</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-04T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167022#M263871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me:&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; attrib date format=date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; date='05JAN2014'd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; date='31JAN2014'd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if date ne intnx('month',date,0,'e') then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 14:25:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167022#M263871</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-04T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167023#M263872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used that code originally and the results are the same. Reeza has suggested this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, RichardinOz has suggested another way of extracting the last day of month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data want;&lt;/P&gt;&lt;P style="color: #333333; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P style="color: #333333; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where Day(days + 1) = 1 ;&lt;/P&gt;&lt;P style="color: #333333; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run ;&lt;/P&gt;&lt;P style="color: #333333; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #333333; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Both ways give exactly the same results. SAS skips January where the end in my sample is 30th and goes to March 31st. It even skips February because the end day of Feb in my sample is 26th. Could you please propose a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 14:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167023#M263872</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167024#M263873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to do: &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data have;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; attrib date format=date9.;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; date='05JAN2014'd;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; date='30JAN2014'd;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;and it will not work!!! But I need to get 30 Jan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 14:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167024#M263873</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167025#M263874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a problem of interpretation as much as of sas code!&lt;/P&gt;&lt;P&gt;Are we to create a table for each company with the lastest date in each month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 15:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167025#M263874</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2014-07-04T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167026#M263875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are exactly right. I need to create a table for each company with the latest date in each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that these days are trading days and thus date series is with gaps. So the last day in a month could be 27th or 26th as well as the start date in a month could be 2nd,4th. I do not know how to adjust intnx function to be able to cope with gaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me with this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 15:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167026#M263875</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167027#M263876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming data sorted by company, days&lt;/P&gt;&lt;P&gt;data v/view=v;&lt;/P&gt;&lt;P&gt;Set have;&lt;/P&gt;&lt;P&gt;Month=intnx('month', days,0, 'e');&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;Data want;&lt;/P&gt;&lt;P&gt;Set v;&lt;/P&gt;&lt;P&gt;By company month days;&lt;/P&gt;&lt;P&gt;If last.month ;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 15:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167027#M263876</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2014-07-04T15:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167028#M263877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, Peter.C, for your code. That worked perfectly for selecting end month dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it seems like this code has taken only one observation for end month dates, but I have more than one observation for Jan 30. How I can take all of them? (not just one observation per end month date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look forward to hearing from you soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 16:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167028#M263877</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T16:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167029#M263878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is that you don't want the month-end date, you want the last date in each month that has data in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly&amp;nbsp; find the month and year of each record then select the highest value of date within month / year.&amp;nbsp; This gives you the&lt;/P&gt;&lt;P&gt;last data date of each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then merge this back to your data and keep those records that have matching dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 16:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167029#M263878</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-07-04T16:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167030#M263879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Yes, I have been thinking about merging as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have big datasets (approx. 4GB) and I think merging will take too much time (either using proc sql or merge). Thus, I've been planning to find the last date in each month that data in it (you are absolutely right!!!) just on-one-go, at once. Is there a direct way to do this avoiding merging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look forward to your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 16:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167030#M263879</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T16:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167031#M263880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that is the best I can do.&amp;nbsp; I was thinking of sorting by day/month/hear then taking the last.day, but that will only&lt;/P&gt;&lt;P&gt;give you 1 record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the merge is the way to go. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 17:35:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167031#M263880</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-07-04T17:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167032#M263881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a two pass solution, but in one step. A 4GB file will process fine unless you need it back in 2 secs.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt; have;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;informat&lt;/SPAN&gt; days &lt;SPAN style="color: #009193;"&gt;ddmmyy10.&lt;/SPAN&gt; company &lt;SPAN style="color: #009193;"&gt;$8.&lt;/SPAN&gt; ;&lt;SPAN style="color: #0433ff;"&gt;format&lt;/SPAN&gt; days &lt;SPAN style="color: #009193;"&gt;date9.&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;input&lt;/SPAN&gt;&amp;nbsp; Days&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company ; &lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #0433ff;"&gt;cards&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;27/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;28/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;29/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;31/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;27/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;28/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;29/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm1&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;27/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;28/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;29/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;31/07/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;27/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;28/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;29/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;30/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;31/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;31/08/2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firm2&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;sql&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #0433ff;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;create&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;table&lt;SPAN style="color: #000000;"&gt; want &lt;/SPAN&gt;as&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;select&lt;/SPAN&gt; company, days, month(days) &lt;SPAN style="color: #0433ff;"&gt;as&lt;/SPAN&gt; month&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;from&lt;/SPAN&gt; have&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;group&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;by&lt;/SPAN&gt; company, calculated month&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&amp;nbsp; having days=max(days);&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 18:06:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167032#M263881</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-07-04T18:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167033#M263882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, Reeza! That works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just quick question/clarification:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have other variables (about 12). Can I include these variables by typing "select var1 var2 var3 company, days, month(days) as month..."? or is there any other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Huge thanks again. Look forward to hearing from you soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 19:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167033#M263882</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T19:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167034#M263883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it and let me know &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 19:54:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167034#M263883</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-07-04T19:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167035#M263884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works perfectly as well. Many thanks, Reeza, for your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One minor worry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run proc sql, at the end I got this message: Note: The query requires remerging summary statistics back with the original data. Can this note cause any problems whatsoever? Any missing data? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 20:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167035#M263884</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T20:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167036#M263885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this is telling you that it is a two pass solution and merging but it is doing it for you automatically. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 20:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167036#M263885</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-07-04T20:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select end month dates from daily data for each company</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167037#M263886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great! I hugely appreciate your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;P&gt;Ruslan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 20:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Re-Select-end-month-dates-from-daily-data-for-each-company/m-p/167037#M263886</guid>
      <dc:creator>Ruslan</dc:creator>
      <dc:date>2014-07-04T20:43:46Z</dc:date>
    </item>
  </channel>
</rss>

