<?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: Organizing Messy Data in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625797#M20290</link>
    <description>&lt;P&gt;In your second row, you have two values for "var1". How do you want to handle such an occurrence? First value, last value, or do you want to output a separate observation for each value? In the latter case, what do you want to do with the other name/value pairs in the same input line?&lt;/P&gt;
&lt;P&gt;It would be helpful if you posted the expected dataset from your input data.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2020 08:23:10 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-02-19T08:23:10Z</dc:date>
    <item>
      <title>Organizing Messy Data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625770#M20287</link>
      <description>&lt;P&gt;I'm a new SAS programmer and am currently working on a dataset thats disorganized like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data1 var1 data2 var2 data3 var3&lt;/P&gt;&lt;P&gt;data1 var1 data1 var1 data2 var2 ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if there was a pointer in sas (like&amp;nbsp;@)&amp;nbsp;&amp;nbsp;that would allow me to point before the variable to organize the data. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Resolved&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 12:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625770#M20287</guid>
      <dc:creator>Jcox22</dc:creator>
      <dc:date>2020-02-19T12:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Organizing Messy Data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625776#M20288</link>
      <description>&lt;P&gt;Not sure if this is what you are after, but the INPUT statement supports moving to a character string within the line such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;input @'data1' +5 var1;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Feb 2020 04:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625776#M20288</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2020-02-19T04:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Organizing Messy Data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625797#M20290</link>
      <description>&lt;P&gt;In your second row, you have two values for "var1". How do you want to handle such an occurrence? First value, last value, or do you want to output a separate observation for each value? In the latter case, what do you want to do with the other name/value pairs in the same input line?&lt;/P&gt;
&lt;P&gt;It would be helpful if you posted the expected dataset from your input data.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 08:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Organizing-Messy-Data/m-p/625797#M20290</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-19T08:23:10Z</dc:date>
    </item>
  </channel>
</rss>

