<?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: organize variables in a dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7502#M113</link>
    <description>many thanks, Cynthia for your valuable help !&lt;BR /&gt;
Joël</description>
    <pubDate>Mon, 17 Mar 2008 13:30:36 GMT</pubDate>
    <dc:creator>joel</dc:creator>
    <dc:date>2008-03-17T13:30:36Z</dc:date>
    <item>
      <title>organize variables in a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7500#M111</link>
      <description>Hello&lt;BR /&gt;
Probably a dummy question but I am a novice !&lt;BR /&gt;
I created a dataset and want simply to reorganize the variables in my logical order&lt;BR /&gt;
I suppose some instruction using a proc statement or in a data set may help me but how ?&lt;BR /&gt;
Thanks in advance &lt;BR /&gt;
Joël</description>
      <pubDate>Sat, 15 Mar 2008 17:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7500#M111</guid>
      <dc:creator>joel</dc:creator>
      <dc:date>2008-03-15T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: organize variables in a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7501#M112</link>
      <description>Hi:&lt;BR /&gt;
  You really do not have to worry about variable order, most procedures provide a way for you to control the order of the variables that you see on reports. For example, PROC PRINT has the VAR statement and PROC REPORT has the COLUMN statement.&lt;BR /&gt;
 &lt;BR /&gt;
[pre]&lt;BR /&gt;
proc print data=sashelp.class;&lt;BR /&gt;
  title 'name age height on the report';&lt;BR /&gt;
  var name age height;&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
proc print data=sashelp.class;&lt;BR /&gt;
  title 'different order';&lt;BR /&gt;
  var height weight age name;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
However, if you really want to reorder the variables in the data set, this SESUG user group paper contains some tips and techniques:&lt;BR /&gt;
&lt;A href="http://analytics.ncsu.edu/sesug/2002/PS12.pdf" target="_blank"&gt;http://analytics.ncsu.edu/sesug/2002/PS12.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 15 Mar 2008 21:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7501#M112</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-03-15T21:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: organize variables in a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7502#M113</link>
      <description>many thanks, Cynthia for your valuable help !&lt;BR /&gt;
Joël</description>
      <pubDate>Mon, 17 Mar 2008 13:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/organize-variables-in-a-dataset/m-p/7502#M113</guid>
      <dc:creator>joel</dc:creator>
      <dc:date>2008-03-17T13:30:36Z</dc:date>
    </item>
  </channel>
</rss>

