<?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: Export variables in order in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/862#M412</link>
    <description>LJ&lt;BR /&gt;
&lt;BR /&gt;
in another forum this would be more appropriate&lt;BR /&gt;
&lt;BR /&gt;
or call customer support, or contact them online at &lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/submit_emits2.html" target="_blank"&gt;http://support.sas.com/techsup/contact/submit_emits2.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
it should be on a FAQ&lt;BR /&gt;
&lt;BR /&gt;
"or just use retain"&lt;BR /&gt;
&lt;BR /&gt;
or better still, please explain why internal order has any relevance to all users of the data table,   &lt;BR /&gt;
&lt;BR /&gt;
but&lt;BR /&gt;
    please do that in another forum&lt;BR /&gt;
&lt;BR /&gt;
ODS and base SAS Reporting have many ways to help you select the required order. They just have no way of knowing the order you are going to need next. I see only simplicity in the current scheme - when reporting you specify the column order you want. I see only disappointment in preparing "column order", for later, or for someone-else.&lt;BR /&gt;
&lt;BR /&gt;
In another forum your topic appears frequently. &lt;BR /&gt;
&lt;BR /&gt;
Here is a link to one I recall :   &lt;BR /&gt;
&lt;A href="http://tinyurl.com/f9ku9" target="_blank"&gt;http://tinyurl.com/f9ku9&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
    <pubDate>Thu, 24 Aug 2006 12:16:18 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-08-24T12:16:18Z</dc:date>
    <item>
      <title>Export variables in order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/859#M409</link>
      <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I'm using proc export to get some data into excel. I was wondering if someone knows of a way to export the fields in a specified order. &lt;BR /&gt;
I'm trying to cut some post sas time.&lt;BR /&gt;
&lt;BR /&gt;
Thanx</description>
      <pubDate>Mon, 19 Jun 2006 14:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/859#M409</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-06-19T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export variables in order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/860#M410</link>
      <description>either change your data set to have columns in the order you prefer, or don't use proc export.&lt;BR /&gt;
&lt;BR /&gt;
(I would recommend the latter)&lt;BR /&gt;
&lt;BR /&gt;
Instead of proc export use:&lt;BR /&gt;
ods listing close ;&lt;BR /&gt;
ods csv file= 'this.csv' ;&lt;BR /&gt;
proc print data= this_data  noobs ;&lt;BR /&gt;
 var required columns in the preferred order ;&lt;BR /&gt;
run;&lt;BR /&gt;
ods csv close ;&lt;BR /&gt;
ods listing ;&lt;BR /&gt;
OK, it just creates the data in a form (very) ready for excel, but would something else achieve what you really need, as simply ?&lt;BR /&gt;
&lt;BR /&gt;
Good Luck&lt;BR /&gt;
Peter</description>
      <pubDate>Tue, 20 Jun 2006 10:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/860#M410</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-06-20T10:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Export variables in order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/861#M411</link>
      <description>PeterC,&lt;BR /&gt;
&lt;BR /&gt;
In your response you said:&lt;BR /&gt;
&lt;BR /&gt;
"either change your data set to have columns in the order you prefer ..."&lt;BR /&gt;
&lt;BR /&gt;
I had some code a long time ago that would do this but it is now lost. How do you change the data set to have columns in order of my preference? I think the code I had was able to change the position attribute of variables. Searching SAS help hasn't led me to any methods that will do this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help.</description>
      <pubDate>Wed, 23 Aug 2006 18:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/861#M411</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-23T18:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export variables in order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/862#M412</link>
      <description>LJ&lt;BR /&gt;
&lt;BR /&gt;
in another forum this would be more appropriate&lt;BR /&gt;
&lt;BR /&gt;
or call customer support, or contact them online at &lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/submit_emits2.html" target="_blank"&gt;http://support.sas.com/techsup/contact/submit_emits2.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
it should be on a FAQ&lt;BR /&gt;
&lt;BR /&gt;
"or just use retain"&lt;BR /&gt;
&lt;BR /&gt;
or better still, please explain why internal order has any relevance to all users of the data table,   &lt;BR /&gt;
&lt;BR /&gt;
but&lt;BR /&gt;
    please do that in another forum&lt;BR /&gt;
&lt;BR /&gt;
ODS and base SAS Reporting have many ways to help you select the required order. They just have no way of knowing the order you are going to need next. I see only simplicity in the current scheme - when reporting you specify the column order you want. I see only disappointment in preparing "column order", for later, or for someone-else.&lt;BR /&gt;
&lt;BR /&gt;
In another forum your topic appears frequently. &lt;BR /&gt;
&lt;BR /&gt;
Here is a link to one I recall :   &lt;BR /&gt;
&lt;A href="http://tinyurl.com/f9ku9" target="_blank"&gt;http://tinyurl.com/f9ku9&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Thu, 24 Aug 2006 12:16:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/862#M412</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-24T12:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export variables in order</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/863#M413</link>
      <description>PeterC,&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; in another forum this would be more appropriate&lt;BR /&gt;
&lt;BR /&gt;
I see that the Integration with MS Office is a more appropriate forum. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; or better still, please explain why internal order has any relevance to all users of the data table,&lt;BR /&gt;
&lt;BR /&gt;
For exactly the same reason given by SAS coder.&lt;BR /&gt;
&lt;BR /&gt;
Thanks very much for your reply.&lt;BR /&gt;
&lt;BR /&gt;
LJ</description>
      <pubDate>Thu, 24 Aug 2006 14:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-variables-in-order/m-p/863#M413</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-24T14:51:49Z</dc:date>
    </item>
  </channel>
</rss>

