<?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 Conditional SAS Log to browser in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Conditional-SAS-Log-to-browser/m-p/8573#M2219</link>
    <description>My Stored Process is running in the stored process web app.  I am chaining the stored processes and writing streaming HTML.  On one of my screens a SAS error is automatically recognized by the stored process server and it displays the handy button to show the log.  On another screen I have a SAS error, but no button shows up.&lt;BR /&gt;
&lt;BR /&gt;
Anybody know why?&lt;BR /&gt;
&lt;BR /&gt;
Is it possible that the STP server is detecting a system error condition inside SAS and that some "errors" are "seen" by the server (such as syntax errors), but other errors such as my own %put ERROR: Business user picked wrong stuff; are not "seen" as errors and therefore do not cause the handy show log button to display?&lt;BR /&gt;
&lt;BR /&gt;
Is there a programmatic way to trigger the "show log" button on the server in my code?</description>
    <pubDate>Thu, 19 Mar 2009 19:29:52 GMT</pubDate>
    <dc:creator>John_d_WiseGuy</dc:creator>
    <dc:date>2009-03-19T19:29:52Z</dc:date>
    <item>
      <title>Conditional SAS Log to browser</title>
      <link>https://communities.sas.com/t5/Developers/Conditional-SAS-Log-to-browser/m-p/8573#M2219</link>
      <description>My Stored Process is running in the stored process web app.  I am chaining the stored processes and writing streaming HTML.  On one of my screens a SAS error is automatically recognized by the stored process server and it displays the handy button to show the log.  On another screen I have a SAS error, but no button shows up.&lt;BR /&gt;
&lt;BR /&gt;
Anybody know why?&lt;BR /&gt;
&lt;BR /&gt;
Is it possible that the STP server is detecting a system error condition inside SAS and that some "errors" are "seen" by the server (such as syntax errors), but other errors such as my own %put ERROR: Business user picked wrong stuff; are not "seen" as errors and therefore do not cause the handy show log button to display?&lt;BR /&gt;
&lt;BR /&gt;
Is there a programmatic way to trigger the "show log" button on the server in my code?</description>
      <pubDate>Thu, 19 Mar 2009 19:29:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Conditional-SAS-Log-to-browser/m-p/8573#M2219</guid>
      <dc:creator>John_d_WiseGuy</dc:creator>
      <dc:date>2009-03-19T19:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional SAS Log to browser</title>
      <link>https://communities.sas.com/t5/Developers/Conditional-SAS-Log-to-browser/m-p/8574#M2220</link>
      <description>Please provide information about what is considered a "SAS error" in both cases, ideally pasting part the SASLOG into your forum post reply.&lt;BR /&gt;
&lt;BR /&gt;
Techniques for generating errors, both in a DATA step, and a macro (compilation) execution are fairly straightforward. There is an ABORT ABEND statement in SAS DATA step processing.  Also, there is a SAS %ABORT statement in Macro language.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS MACRO language DOC - %ABORT Statement&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a002475061.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a002475061.htm&lt;/A&gt;</description>
      <pubDate>Thu, 19 Mar 2009 21:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Conditional-SAS-Log-to-browser/m-p/8574#M2220</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-03-19T21:41:12Z</dc:date>
    </item>
  </channel>
</rss>

