<?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: How to stop the saving my code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180080#M34418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into my question, Here Criteria is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here While saving my code to XYZ Location, If any error or warning or unwanted note is in my log window, It should not save the code. moreover it should pop-up us with&amp;nbsp; telling that some error or warning is their in the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any concerns please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2014 11:16:05 GMT</pubDate>
    <dc:creator>dishant</dc:creator>
    <dc:date>2014-10-10T11:16:05Z</dc:date>
    <item>
      <title>How to stop the saving my code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180078#M34416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to stop the saving my code,If my code having any error or any warning or any unwanted Note in the log Window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out, Since i don't have any idea how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:42:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180078#M34416</guid>
      <dc:creator>dishant</dc:creator>
      <dc:date>2014-10-10T09:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the saving my code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180079#M34417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I really don't understand the question here, do you mean you want to stop code that is currently running if it encounters an error?&amp;nbsp; If so then you would need to provide some more specific information such as where the code is running, what it is doing etc.&amp;nbsp; For instance there is the SYSERR automatic macro variable you could check, something like:&lt;/P&gt;&lt;P&gt;%macro test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data a; set b; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %if &amp;amp;syserr.=0 %then %do;&amp;nbsp; /* If run succesfull */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;%mend test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There maybe other things to consider also though, files being moved, what you are running on etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 10:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180079#M34417</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-10-10T10:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the saving my code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180080#M34418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into my question, Here Criteria is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here While saving my code to XYZ Location, If any error or warning or unwanted note is in my log window, It should not save the code. moreover it should pop-up us with&amp;nbsp; telling that some error or warning is their in the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any concerns please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 11:16:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180080#M34418</guid>
      <dc:creator>dishant</dc:creator>
      <dc:date>2014-10-10T11:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the saving my code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180081#M34419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, again not following you.&amp;nbsp; Do you mean you are running a program and within a datastep you don't want to store something if there is an error?&amp;nbsp; If so then this is automatic, SAS wouldn't write a full dataset if there are errors in the datastep.&amp;nbsp; Do you mean saving your actual program.&amp;nbsp; Also what do you mean by message should pop up, is this log checking at the end of execution? &lt;/P&gt;&lt;P&gt;Log checking would be something you do at then to see if execution happened correctly, you could do it in a SAS program and email out an message if there are warnings/errors.&amp;nbsp; Or your batch scheduler could do that.&amp;nbsp; If you mean when you are running interactively in SAS, then just submit your program step by step (highlight and run), that way only the code you highlight will run.&amp;nbsp; If you mean saving actual SAS code files then there is no log associated, it is just a plain text file, if you need audit history/rollback etc then look at version control software such as TortoiseSVN to track code files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 11:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180081#M34419</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-10-10T11:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the saving my code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180082#M34420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's up to you to check the log before saving a program file. Even in EG, you only get a visual signal (red x on errors, yellow exclamation mark on warnings) in certain conditions, NOTEs about unitialized vars etc go unnoticed unless you check the log with eyeballs Mk I. It's what you get paid for as a developer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 11:58:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-stop-the-saving-my-code/m-p/180082#M34420</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-10-10T11:58:01Z</dc:date>
    </item>
  </channel>
</rss>

