<?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 Saving dataset after modifying in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/405561#M98678</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm using sas 9.4 and&amp;nbsp;I'm trying to save existing dataset after modifying it for future processing.&lt;/P&gt;&lt;P&gt;Now i can see only the results of the modified dataset, but&amp;nbsp;I don't know how to specify location to the out file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname A 'fileLocation';
data a; 
set A.fileName;
if z=. then z=0;
output;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2017 14:31:24 GMT</pubDate>
    <dc:creator>Greisas</dc:creator>
    <dc:date>2017-10-19T14:31:24Z</dc:date>
    <item>
      <title>Saving dataset after modifying</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/405561#M98678</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm using sas 9.4 and&amp;nbsp;I'm trying to save existing dataset after modifying it for future processing.&lt;/P&gt;&lt;P&gt;Now i can see only the results of the modified dataset, but&amp;nbsp;I don't know how to specify location to the out file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname A 'fileLocation';
data a; 
set A.fileName;
if z=. then z=0;
output;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/405561#M98678</guid>
      <dc:creator>Greisas</dc:creator>
      <dc:date>2017-10-19T14:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Saving dataset after modifying</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/405567#M98683</link>
      <description>&lt;P&gt;You want to use a two-level data set name, where the first level is the library name (LIBNAME) and the second level is the actual data set name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data a.newdata;&lt;/PRE&gt;
&lt;P&gt;Also, don't forget the&lt;FONT face="courier new,courier"&gt; run;&lt;/FONT&gt; command at the end of your data step.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/405567#M98683</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-10-19T14:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Saving dataset after modifying</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/406426#M98966</link>
      <description>Thank you very much.&lt;BR /&gt;I didn't think it was that simple.&lt;BR /&gt;&lt;BR /&gt;Matan.</description>
      <pubDate>Mon, 23 Oct 2017 07:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saving-dataset-after-modifying/m-p/406426#M98966</guid>
      <dc:creator>Greisas</dc:creator>
      <dc:date>2017-10-23T07:29:22Z</dc:date>
    </item>
  </channel>
</rss>

