<?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 controlling the output order using PROC FREQ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609067#M177303</link>
    <description>&lt;P&gt;I want to control the order of output so that the last row is first, the first row is second and the second row is third.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;code:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;proc freq data=four;&lt;BR /&gt;table lre_placement / nocum;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;output&lt;/U&gt;&lt;/P&gt;
&lt;TABLE width="185"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="185"&gt;Inside Reg Class 40-79% of day&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE width="185"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="185"&gt;Inside Reg Class &amp;gt;80% of day&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE width="185"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="185"&gt;Inside Reg Class &amp;lt;40% of day&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Tue, 03 Dec 2019 14:50:04 GMT</pubDate>
    <dc:creator>GreggB</dc:creator>
    <dc:date>2019-12-03T14:50:04Z</dc:date>
    <item>
      <title>controlling the output order using PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609067#M177303</link>
      <description>&lt;P&gt;I want to control the order of output so that the last row is first, the first row is second and the second row is third.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;code:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;proc freq data=four;&lt;BR /&gt;table lre_placement / nocum;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;output&lt;/U&gt;&lt;/P&gt;
&lt;TABLE width="185"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="185"&gt;Inside Reg Class 40-79% of day&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE width="185"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="185"&gt;Inside Reg Class &amp;gt;80% of day&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE width="185"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="185"&gt;Inside Reg Class &amp;lt;40% of day&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 03 Dec 2019 14:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609067#M177303</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2019-12-03T14:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: controlling the output order using PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609076#M177306</link>
      <description>&lt;P&gt;Please try the below code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=four order=internal;
table lre_placement / nocum;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Dec 2019 15:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609076#M177306</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-12-03T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: controlling the output order using PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609077#M177307</link>
      <description>&lt;P&gt;Alternatively you can use the format to order&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=four order=formatted;
table lre_placement / nocum;
format lre_placement xformat.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Dec 2019 15:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609077#M177307</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-12-03T15:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: controlling the output order using PROC FREQ</title>
      <link>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609339#M177404</link>
      <description>&lt;P&gt;Add a white blank before last row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data four;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;set four;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;if&amp;nbsp;&lt;SPAN&gt;lre_placement='Inside Reg Class &amp;lt;40% of day' then&amp;nbsp;lre_placement='&amp;nbsp; &amp;nbsp; &amp;nbsp;Inside Reg Class &amp;lt;40% of day';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/controlling-the-output-order-using-PROC-FREQ/m-p/609339#M177404</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-12-04T12:01:19Z</dc:date>
    </item>
  </channel>
</rss>

