<?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: NOTE: Import cancelled. instead of ERROR: Import cancelled. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589380#M168571</link>
    <description>&lt;P&gt;You might want to address you concerns to SAS technical support, where the information might reach the right decision makers. We here in the SAS Communities aren't really the right people to address this issue to; we can't make any changes based upon your concerns.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 14:28:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-09-17T14:28:02Z</dc:date>
    <item>
      <title>NOTE: Import cancelled. instead of ERROR: Import cancelled.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589378#M168569</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just encountered a very strange behavior of SAS when performing an import.&lt;/P&gt;&lt;P&gt;After succesfuly importing the first file, after a while I had to change it due to updates but when the source file was changed performing the same import on the same table generated a &lt;FONT color="#339966"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;NOTE: Import cancelled. &amp;nbsp;Output dataset WORK.NTB already exists. &amp;nbsp;Specify REPLACE option to overwrite it."&lt;/STRONG&gt;&lt;/FONT&gt; and the script continued without a problem as nothing important had happend although the entire analysis was peformed on the old data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;How is it possible to throw a NOTE instead of an ERROR (or even an Warning) in such situations? Is this the normal behavior of SAS? because I find it very odd and I cannot imagine a single situation where such outcome it's desirable. Basically if you forgot to mention the "replace" options SAS doen't think it's a critical situation&amp;nbsp;and makes you think everything was fine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EG version&amp;nbsp; 7.15 HF7, SAS 9.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-09-17.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32533i43BD0BA456CDD9B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-17.jpg" alt="2019-09-17.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 14:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589378#M168569</guid>
      <dc:creator>DanielMarina</dc:creator>
      <dc:date>2019-09-17T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Import cancelled. instead of ERROR: Import cancelled.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589380#M168571</link>
      <description>&lt;P&gt;You might want to address you concerns to SAS technical support, where the information might reach the right decision makers. We here in the SAS Communities aren't really the right people to address this issue to; we can't make any changes based upon your concerns.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 14:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589380#M168571</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-17T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Import cancelled. instead of ERROR: Import cancelled.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589381#M168572</link>
      <description>&lt;P&gt;It seems to be pretty clear to me.&amp;nbsp; You asked IMPORT to create a dataset, but that dataset already exists so the PROC did nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want it to automatically delete the existing dataset the add the REPLACE keyword to the PROC IMPORT statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS is a hodge-podge of many different programs built up over the years by multiple teams of programmers.&amp;nbsp; It is best to just understand how it works and not worry too much about trying to understand what decisions the various design teams have made over the years.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 15:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589381#M168572</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-09-17T15:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Import cancelled. instead of ERROR: Import cancelled.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589382#M168573</link>
      <description>&lt;P&gt;Conditionally delete the dataset before the import:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%if %sysfunc(exist(ntb)) %then %do;
proc delete data=ntb;
run;
%end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But you're right. That should cause a WARNING in my opinion.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 14:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/589382#M168573</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-17T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Import cancelled. instead of ERROR: Import cancelled.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/611330#M178169</link>
      <description>&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt;’m happy to inform you that this behavior has been submited to SAS and has been accepted by R&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;D / product management and message will be re-classified from NOTE to ERROR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Somewhere in the future &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 14:56:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Import-cancelled-instead-of-ERROR-Import-cancelled/m-p/611330#M178169</guid>
      <dc:creator>DanielMarina</dc:creator>
      <dc:date>2019-12-12T14:56:29Z</dc:date>
    </item>
  </channel>
</rss>

