<?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: Proc Report Month Order in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162741#M12082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried the 2 steps above but still cannot order the months. Perhaps there is something wrong with the code outlined below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Data Build*/&lt;/P&gt;&lt;P&gt;options symbolgen mprint merror spool errors=3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO BUILD(PROD);&lt;/P&gt;&lt;P&gt;data &amp;amp;PROD._report;&lt;/P&gt;&lt;P&gt;set &amp;amp;PROD.mm_dm_rating_factor (keep= PT_GARAGE_CD PT_NCB_YRS NB_COUNT LA_NUM_NAME UW_MTH where=(NB_COUNT =1 and&lt;/P&gt;&lt;P&gt;intnx('month', today(), -1, 'e') &amp;gt; UW_MTH &amp;gt;= intnx('month', today(), -4, 'b')));&lt;/P&gt;&lt;P&gt;binary_garaged = put(PT_GARAGE_CD,$PT_GARAGE_CD.) = 'Vehicle Is Garaged';&lt;/P&gt;&lt;P&gt;date1 = put(UW_MTH, Julian5.);&lt;/P&gt;&lt;P&gt;put date1;&lt;/P&gt;&lt;P&gt;bonus = pt_ncb_yrs &amp;gt;= 9;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc sort Data = &amp;amp;PROD._report;&lt;/P&gt;&lt;P&gt;by LA_NUM_NAME UW_MTH;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%BUILD(MKS);&lt;/P&gt;&lt;P&gt;%BUILD(ZEN);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Garaged and NB reports*/&lt;/P&gt;&lt;P&gt;options symbogen mprint merror spool errors =3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO BONUS(PROD);&lt;/P&gt;&lt;P&gt;proc report data = &amp;amp;PROD._report nowd headline headskip;&lt;/P&gt;&lt;P&gt;title1 "Percentage of Max Bonus Policies sold by broker";&lt;/P&gt;&lt;P&gt;Column LA_NUM_NAME UW_MTH, (NB_Count bonus bonus=bonus_pct);&lt;/P&gt;&lt;P&gt;define LA_NUM_NAME / group 'lead Agent';&lt;/P&gt;&lt;P&gt;define UW_MTH / order descending across '-Month-';&lt;/P&gt;&lt;P&gt;define NB_COUNT / analysis sum;&lt;/P&gt;&lt;P&gt;define bonus / analysis sum 'Max Bonus Count';&lt;/P&gt;&lt;P&gt;define bonus_pct / analysis mean format=percent9.2 '% with Max Bonus';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND BONUS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%BONUS(MKS);&lt;/P&gt;&lt;P&gt;%BONUS(ZEN); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 10:30:05 GMT</pubDate>
    <dc:creator>ToonKnight</dc:creator>
    <dc:date>2015-02-13T10:30:05Z</dc:date>
    <item>
      <title>Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162738#M12079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to sort out the order of months for a report I am creating. There is a previous thread where I have posted (&lt;A href="https://communities.sas.com/thread/67637"&gt;https://communities.sas.com/thread/67637 &lt;/A&gt;) 'Month Order' which outlines the issue in more detail. There have been some recent updates to this thread which is outlined below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached 3 separate screenshots. 'Month order 2' is where the raw date&amp;nbsp;variable 'UW_MTH' has been used and has produced the output 'Max Bonus Output 2'.&amp;nbsp; 'Month Order 3' is where the new variable 'Date1'&amp;nbsp;has been used and has returned a SAS error 'Date1 must use a character format'.&amp;nbsp; It would be preferable, to use the date1 variable because if you&amp;nbsp;remove the format in the proc report, the Months in numerical form&amp;nbsp;are&amp;nbsp;returned&amp;nbsp;and&amp;nbsp;are sorted&amp;nbsp;correctly&amp;nbsp;in chronological order&amp;nbsp;.The output for this&amp;nbsp;then reads&amp;nbsp;15001 - 14335 - 14305 - 14274 which&amp;nbsp;correlates to Jan15 - Dec14- Nov14 - Oct14 in descending order which is desired but it would preferable to have this in MMMYY5. form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's worth noting that the 'Date1' variable is a character type variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would really appreciate the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" data-mce-bogus="1" id="_mcePaste" style="left: -10000px; top: 272px; width: 1px; height: 1px; overflow: hidden; position: absolute;"&gt;&lt;P&gt;﻿﻿&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11040iA258B45ED181C0AD/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Month Order 3.JPG" title="Month Order 3.JPG" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11041i4C0533A6EAF1A189/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Month Order 2.JPG" title="Month Order 2.JPG" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11042iD9662EB2F5A54677/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Max Bonus Output 2.JPG" title="Max Bonus Output 2.JPG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 10:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162738#M12079</guid>
      <dc:creator>ToonKnight</dc:creator>
      <dc:date>2015-02-11T10:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162739#M12080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you insist on DATE1 for the axis variable and it is character you aren't going to make Any progress.&lt;/P&gt;&lt;P&gt;I strongly recommend, especially for graphing, that if you have something that is supposed to be a date make it a SAS date variable. Then you can use the SAS formats for display and in many places you have access to syntax such as interval= for ticks at year, month, week etc, or &lt;CODE&gt;VALUES= ("01JAN08"d to "01MAY08"d by month)&lt;/CODE&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 15:00:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162739#M12080</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-02-11T15:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162740#M12081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month Order 2.jpg shows the use of UW_MTH and format monyy5. with incorrect output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting off from using UW_MTH - month order 2.jpg&lt;/P&gt;&lt;P&gt;1. Try sorting the data by LA_NUM_NAME UW_MTH before the process&lt;/P&gt;&lt;P&gt;2. Try adding order to the uw_mth line which includes descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. It's much easier if you copy and paste your code here rather than include images.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 17:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162740#M12081</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-02-11T17:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162741#M12082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried the 2 steps above but still cannot order the months. Perhaps there is something wrong with the code outlined below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Data Build*/&lt;/P&gt;&lt;P&gt;options symbolgen mprint merror spool errors=3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO BUILD(PROD);&lt;/P&gt;&lt;P&gt;data &amp;amp;PROD._report;&lt;/P&gt;&lt;P&gt;set &amp;amp;PROD.mm_dm_rating_factor (keep= PT_GARAGE_CD PT_NCB_YRS NB_COUNT LA_NUM_NAME UW_MTH where=(NB_COUNT =1 and&lt;/P&gt;&lt;P&gt;intnx('month', today(), -1, 'e') &amp;gt; UW_MTH &amp;gt;= intnx('month', today(), -4, 'b')));&lt;/P&gt;&lt;P&gt;binary_garaged = put(PT_GARAGE_CD,$PT_GARAGE_CD.) = 'Vehicle Is Garaged';&lt;/P&gt;&lt;P&gt;date1 = put(UW_MTH, Julian5.);&lt;/P&gt;&lt;P&gt;put date1;&lt;/P&gt;&lt;P&gt;bonus = pt_ncb_yrs &amp;gt;= 9;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc sort Data = &amp;amp;PROD._report;&lt;/P&gt;&lt;P&gt;by LA_NUM_NAME UW_MTH;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%BUILD(MKS);&lt;/P&gt;&lt;P&gt;%BUILD(ZEN);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Garaged and NB reports*/&lt;/P&gt;&lt;P&gt;options symbogen mprint merror spool errors =3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO BONUS(PROD);&lt;/P&gt;&lt;P&gt;proc report data = &amp;amp;PROD._report nowd headline headskip;&lt;/P&gt;&lt;P&gt;title1 "Percentage of Max Bonus Policies sold by broker";&lt;/P&gt;&lt;P&gt;Column LA_NUM_NAME UW_MTH, (NB_Count bonus bonus=bonus_pct);&lt;/P&gt;&lt;P&gt;define LA_NUM_NAME / group 'lead Agent';&lt;/P&gt;&lt;P&gt;define UW_MTH / order descending across '-Month-';&lt;/P&gt;&lt;P&gt;define NB_COUNT / analysis sum;&lt;/P&gt;&lt;P&gt;define bonus / analysis sum 'Max Bonus Count';&lt;/P&gt;&lt;P&gt;define bonus_pct / analysis mean format=percent9.2 '% with Max Bonus';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND BONUS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%BONUS(MKS);&lt;/P&gt;&lt;P&gt;%BONUS(ZEN); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162741#M12082</guid>
      <dc:creator>ToonKnight</dc:creator>
      <dc:date>2015-02-13T10:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162742#M12083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My only other thought is to remove the "-Month-" from the UW_Month variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works absolutely fine for me with this method, so I suggest contacting Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following should work, from my knowledge of Proc Report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;proc report data = &amp;amp;PROD._report nowd headline headskip;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;title1 "Percentage of Max Bonus Policies sold by broker";&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Column LA_NUM_NAME UW_MTH, (NB_Count bonus bonus=bonus_pct);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;define LA_NUM_NAME / group 'lead Agent';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;define UW_MTH / descending across format=monyy5.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;define NB_COUNT / analysis sum;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;define bonus / analysis sum 'Max Bonus Count';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;define bonus_pct / analysis mean format=percent9.2 '% with Max Bonus';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 12:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162742#M12083</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-02-13T12:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162743#M12084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the only other thing I can think of is the default ordering is for FORMATTED order. Usually with dates, I change ORDER=INTERNAL. When I use SASHELP.PRDSALE, as you can see from the screen shot, the months are in descending order.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html file='c:\temp\desc_month.html';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc report data = sashelp.prdsale nowd ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; title1 "Percentage of Max Bonus Policies sold by broker";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; Column region month,(actual predict);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; define region / group 'lead Agent';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; define month/ descending order=internal across format=monyy5.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; define actual / analysis sum;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; define predict / analysis sum 'Max Bonus Count';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11369i3F74F7DD4A77B100/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="desc_month.png" title="desc_month.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 14:43:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162743#M12084</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-02-13T14:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Month Order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162744#M12085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Managed to sort the order out, using order=internal seemed to do the trick. &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, 13 Feb 2015 16:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Month-Order/m-p/162744#M12085</guid>
      <dc:creator>ToonKnight</dc:creator>
      <dc:date>2015-02-13T16:27:24Z</dc:date>
    </item>
  </channel>
</rss>

