<?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 SAS is ignoring the NOREPLACE option in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37741#M7506</link>
    <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I am having problems with the noreplace option, I've nearly wiped out the whole sashelp library so I made a copy of sashelp.shoes and tried one more time to check whether the noreplace was working or not. Still not working and I wonder why!&lt;BR /&gt;
&lt;BR /&gt;
Please find below the log. Thanks in advance for helping me out with this matter.&lt;BR /&gt;
&lt;BR /&gt;
108  data shoes;&lt;BR /&gt;
109  set sashelp.shoes;&lt;BR /&gt;
110  run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: There were 395 observations read from the data set SASHELP.SHOES.&lt;BR /&gt;
NOTE: The data set WORK.SHOES has 395 observations and 7 variables.&lt;BR /&gt;
NOTE: Compressing data set WORK.SHOES decreased size by 0.00 percent.&lt;BR /&gt;
      Compressed is 5 pages; un-compressed would require 5 pages.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.01 seconds&lt;BR /&gt;
      cpu time            0.01 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
111  options  obs=0 noreplace;&lt;BR /&gt;
112  proc sort data=shoes; by region;run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Input data set is empty.&lt;BR /&gt;
NOTE: The data set WORK.SHOES has 0 observations and 7 variables.&lt;BR /&gt;
NOTE: PROCEDURE SORT used (Total process time):&lt;BR /&gt;
      real time           0.01 seconds&lt;BR /&gt;
      cpu time            0.01 seconds</description>
    <pubDate>Thu, 28 May 2009 09:55:25 GMT</pubDate>
    <dc:creator>_Altons_</dc:creator>
    <dc:date>2009-05-28T09:55:25Z</dc:date>
    <item>
      <title>SAS is ignoring the NOREPLACE option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37741#M7506</link>
      <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I am having problems with the noreplace option, I've nearly wiped out the whole sashelp library so I made a copy of sashelp.shoes and tried one more time to check whether the noreplace was working or not. Still not working and I wonder why!&lt;BR /&gt;
&lt;BR /&gt;
Please find below the log. Thanks in advance for helping me out with this matter.&lt;BR /&gt;
&lt;BR /&gt;
108  data shoes;&lt;BR /&gt;
109  set sashelp.shoes;&lt;BR /&gt;
110  run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: There were 395 observations read from the data set SASHELP.SHOES.&lt;BR /&gt;
NOTE: The data set WORK.SHOES has 395 observations and 7 variables.&lt;BR /&gt;
NOTE: Compressing data set WORK.SHOES decreased size by 0.00 percent.&lt;BR /&gt;
      Compressed is 5 pages; un-compressed would require 5 pages.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.01 seconds&lt;BR /&gt;
      cpu time            0.01 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
111  options  obs=0 noreplace;&lt;BR /&gt;
112  proc sort data=shoes; by region;run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Input data set is empty.&lt;BR /&gt;
NOTE: The data set WORK.SHOES has 0 observations and 7 variables.&lt;BR /&gt;
NOTE: PROCEDURE SORT used (Total process time):&lt;BR /&gt;
      real time           0.01 seconds&lt;BR /&gt;
      cpu time            0.01 seconds</description>
      <pubDate>Thu, 28 May 2009 09:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37741#M7506</guid>
      <dc:creator>_Altons_</dc:creator>
      <dc:date>2009-05-28T09:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS is ignoring the NOREPLACE option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37742#M7507</link>
      <description>Here's the DOC link for SAS 9.2 -- the reference to "temporary SAS data sets" may be a tad vague though.  From the SORT DOC:&lt;BR /&gt;
&lt;BR /&gt;
Note:   If the SAS system option NOREPLACE is in effect, then you cannot replace an original permanent data set with a sorted version. You must either use the OUT= option or specify the SAS system option REPLACE in an OPTIONS statement. The SAS system option NOREPLACE does not affect temporary SAS data sets.  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SORT PROCEDURE: Results: SORT Procedure - see NOTE at bottom of section (pasted above):&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473664.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473664.htm&lt;/A&gt;</description>
      <pubDate>Thu, 28 May 2009 11:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37742#M7507</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-28T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS is ignoring the NOREPLACE option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37743#M7508</link>
      <description>Thanks!&lt;BR /&gt;
&lt;BR /&gt;
But now I wonder how I could rewrite sashelp.class and other data sets in the sashelp library?</description>
      <pubDate>Thu, 28 May 2009 14:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37743#M7508</guid>
      <dc:creator>_Altons_</dc:creator>
      <dc:date>2009-05-28T14:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS is ignoring the NOREPLACE option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37744#M7509</link>
      <description>Contact your SAS Admin, identify a suitable backup-copy, and request a restore be performed.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 28 May 2009 15:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-is-ignoring-the-NOREPLACE-option/m-p/37744#M7509</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-28T15:36:35Z</dc:date>
    </item>
  </channel>
</rss>

