<?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: Code replacing the last column. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436279#M282160</link>
    <description>&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&amp;nbsp;mentioned, we're missing a lot of the specifics here.&amp;nbsp; Here's the general answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be looking at expected behavior of the software.&amp;nbsp; For example, consider these types of programs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data new;&lt;/P&gt;
&lt;P&gt;set old;&lt;/P&gt;
&lt;P&gt;** statements to make changes to the data;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data new;&lt;/P&gt;
&lt;P&gt;infile 'some source of text data';&lt;/P&gt;
&lt;P&gt;input some list of variables;&lt;/P&gt;
&lt;P&gt;** statements to make changes to the data;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In both cases, the changes apply to the data set being created only (named NEW in both examples).&amp;nbsp; None of the changes are expected to&amp;nbsp;appear in the incoming source of data.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2018 16:47:58 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-02-12T16:47:58Z</dc:date>
    <item>
      <title>Code replacing the last column.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436271#M282158</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am VERY new to SAS and my question may come off as ignorant, but is there a reason why every time I run my code it keeps replacing the last column.&amp;nbsp; For instance, I needed to do the Year of Birth and once I ran it, it replaced the column of my last code I ran, but none of my raw data is replaced its just the code I write for.&amp;nbsp; I hope this makes sense.&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;-Stef&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436271#M282158</guid>
      <dc:creator>StefB</dc:creator>
      <dc:date>2018-02-12T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Code replacing the last column.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436272#M282159</link>
      <description>&lt;P&gt;Post the code you ran and an example (in the form of a data step) of your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:29:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436272#M282159</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-02-12T16:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Code replacing the last column.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436279#M282160</link>
      <description>&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&amp;nbsp;mentioned, we're missing a lot of the specifics here.&amp;nbsp; Here's the general answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be looking at expected behavior of the software.&amp;nbsp; For example, consider these types of programs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data new;&lt;/P&gt;
&lt;P&gt;set old;&lt;/P&gt;
&lt;P&gt;** statements to make changes to the data;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data new;&lt;/P&gt;
&lt;P&gt;infile 'some source of text data';&lt;/P&gt;
&lt;P&gt;input some list of variables;&lt;/P&gt;
&lt;P&gt;** statements to make changes to the data;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In both cases, the changes apply to the data set being created only (named NEW in both examples).&amp;nbsp; None of the changes are expected to&amp;nbsp;appear in the incoming source of data.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436279#M282160</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-02-12T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Code replacing the last column.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436287#M282161</link>
      <description>&lt;P&gt;What does your data and code look like?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 17:37:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-replacing-the-last-column/m-p/436287#M282161</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-02-12T17:37:18Z</dc:date>
    </item>
  </channel>
</rss>

