<?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 How do I create a permanent dataset after making changes? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-create-a-permanent-dataset-after-making-changes/m-p/742250#M29178</link>
    <description>&lt;P&gt;I am importing data from SPSS to SAS and creating several new variables within the SAS dataset that I wish to save to a permanent file that can be accessed later. I don't want to have to run the code to set up my new variables for analysis every single time I open SAS. I have been using the following statements, but it does not seem to work. Suggestions are much appreciated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;libname survey 'C:\location-of-file';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data survey.apr30data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF-THEN-ELSE statements;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc print data=survey.apr30data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 17:54:05 GMT</pubDate>
    <dc:creator>ab81</dc:creator>
    <dc:date>2021-05-18T17:54:05Z</dc:date>
    <item>
      <title>How do I create a permanent dataset after making changes?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-create-a-permanent-dataset-after-making-changes/m-p/742250#M29178</link>
      <description>&lt;P&gt;I am importing data from SPSS to SAS and creating several new variables within the SAS dataset that I wish to save to a permanent file that can be accessed later. I don't want to have to run the code to set up my new variables for analysis every single time I open SAS. I have been using the following statements, but it does not seem to work. Suggestions are much appreciated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;libname survey 'C:\location-of-file';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data survey.apr30data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF-THEN-ELSE statements;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc print data=survey.apr30data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 17:54:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-create-a-permanent-dataset-after-making-changes/m-p/742250#M29178</guid>
      <dc:creator>ab81</dc:creator>
      <dc:date>2021-05-18T17:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a permanent dataset after making changes?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-create-a-permanent-dataset-after-making-changes/m-p/742258#M29179</link>
      <description>&lt;P&gt;&lt;STRONG&gt;You are almost there, you need to set the imported file(SPSS) into the data step procedure.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;libname survey 'C:\location-of-file';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;data survey.apr30data;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;set importedspssfilehere;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;IF-THEN-ELSE statements;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc print data=survey.apr30data;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 18:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-create-a-permanent-dataset-after-making-changes/m-p/742258#M29179</guid>
      <dc:creator>CarmineVerrell</dc:creator>
      <dc:date>2021-05-18T18:19:32Z</dc:date>
    </item>
  </channel>
</rss>

