<?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: Pop Up error message display in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20063#M3106</link>
    <description>Not easy to do, at least from what I'm aware.&lt;BR /&gt;
&lt;BR /&gt;
One thing that I remember, and that might do the trick, is to pre-process your script with some code that will capture the log, and the post-process with some other that will parse the log and pop a message through the %window macro.&lt;BR /&gt;
&lt;BR /&gt;
Of course, you should make sure that the erroarabend options is not in order.&lt;BR /&gt;
&lt;BR /&gt;
Here's some papers about the %window macro:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi27/p192-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p192-27.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi25/25/cc/25p076.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi25/25/cc/25p076.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
    <pubDate>Fri, 20 Nov 2009 15:11:11 GMT</pubDate>
    <dc:creator>DanielSantos</dc:creator>
    <dc:date>2009-11-20T15:11:11Z</dc:date>
    <item>
      <title>Pop Up error message display</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20062#M3105</link>
      <description>Hi All,&lt;BR /&gt;
  I'm uing SAS 9.1 and would like to know if a error message can be displayed as popup.Not all users know how to read log messages.If we can show an error message on the screen it will be useful.&lt;BR /&gt;
SASPhile.</description>
      <pubDate>Fri, 20 Nov 2009 14:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20062#M3105</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-11-20T14:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pop Up error message display</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20063#M3106</link>
      <description>Not easy to do, at least from what I'm aware.&lt;BR /&gt;
&lt;BR /&gt;
One thing that I remember, and that might do the trick, is to pre-process your script with some code that will capture the log, and the post-process with some other that will parse the log and pop a message through the %window macro.&lt;BR /&gt;
&lt;BR /&gt;
Of course, you should make sure that the erroarabend options is not in order.&lt;BR /&gt;
&lt;BR /&gt;
Here's some papers about the %window macro:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi27/p192-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p192-27.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi25/25/cc/25p076.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi25/25/cc/25p076.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
      <pubDate>Fri, 20 Nov 2009 15:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20063#M3106</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-11-20T15:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pop Up error message display</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20064#M3107</link>
      <description>another popup, built in to the old sas interface is the dm command [pre] postMessage 'your message'[/pre]&lt;BR /&gt;
With suitable programming of the windows api you can provide a message pop-up with action buttons.&lt;BR /&gt;
 &lt;BR /&gt;
good luck&lt;BR /&gt;
PeterC</description>
      <pubDate>Fri, 20 Nov 2009 16:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pop-Up-error-message-display/m-p/20064#M3107</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-11-20T16:18:20Z</dc:date>
    </item>
  </channel>
</rss>

