<?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: Stored Process no Sas Report in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351195#M23140</link>
    <description>&lt;P&gt;Right after the %STPBEGIN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you should check your code for any Proc that creates output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you call the Stored Process from EG you have easy access to the SAS log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will always help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 08:34:46 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2017-04-19T08:34:46Z</dc:date>
    <item>
      <title>Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/350904#M23123</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made a Stored Process, but it keeps giving me a SAS report which I do not need.&lt;/P&gt;&lt;P&gt;I've tried proc no print, but that didn't work and as far as I can see there are no options to turn on/off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I make the Stored Procedure to not give me a SAS Report when it's done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 15:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/350904#M23123</guid>
      <dc:creator>BaVe</dc:creator>
      <dc:date>2017-04-18T15:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/350924#M23124</link>
      <description>&lt;P&gt;Have you tried "ods noresults;" before the start of any procedures that will generate output?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 16:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/350924#M23124</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-04-18T16:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351167#M23135</link>
      <description>&lt;P&gt;No I did not, but everywhere I place it, I get the message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where do I put the statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is like:&lt;/P&gt;&lt;P&gt;%global some vars;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%STPBEGIN;&lt;/P&gt;&lt;P&gt;LIBNAME some lib;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL NOPRINT;&lt;/P&gt;&lt;P&gt;code for table 1;&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;PROC SQL NOPRINT&lt;/P&gt;&lt;P&gt;code for table2;&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;%STPEND;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 06:46:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351167#M23135</guid>
      <dc:creator>BaVe</dc:creator>
      <dc:date>2017-04-19T06:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351172#M23136</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some questions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;What does the Stored Process do, just create tables?&lt;/LI&gt;
&lt;LI&gt;How is it called?&lt;/LI&gt;
&lt;LI&gt;Do you want to inform the caller about how the program run?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As long as your code does not create any output, there will be none.&lt;/P&gt;
&lt;P&gt;Otherwise add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select none;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351172#M23136</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-04-19T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351174#M23137</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've made the stored process in order to have a cascading prompt.&lt;/P&gt;&lt;P&gt;Based on a year and month, it has dependencies on a list of files is accesses. (mainly to take care of 'noise')&lt;/P&gt;&lt;P&gt;It uses the selection to create 2 tables according to the choices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the stored process is called Run Selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I get 2 tables, but also 1 sasreport which is redundant and I want the stored proces to not make a report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked in the log and there SAS seems to make a report automatically while running the stored process.&lt;/P&gt;&lt;P&gt;Based on that I've looked in the options and turned off the option SASreport in General Results, but that doesn't work either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this clears up the questions you had.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351174#M23137</guid>
      <dc:creator>BaVe</dc:creator>
      <dc:date>2017-04-19T07:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351178#M23138</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the question "How is it called?" referred to, how do you run the Stored Process: from SAS Enterprise Guide, from SAS Add-In for Microsoft Office, from the SAS Stored Process web application, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried the ODS SELECT NONE; statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351178#M23138</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-04-19T07:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351181#M23139</link>
      <description>&lt;P&gt;it's called from EG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying it out as we speak. Could you indicate where in my example code in an earlier reply I should place it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 08:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351181#M23139</guid>
      <dc:creator>BaVe</dc:creator>
      <dc:date>2017-04-19T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351195#M23140</link>
      <description>&lt;P&gt;Right after the %STPBEGIN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you should check your code for any Proc that creates output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you call the Stored Process from EG you have easy access to the SAS log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will always help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 08:34:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351195#M23140</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-04-19T08:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process no Sas Report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351220#M23141</link>
      <description>&lt;P&gt;It still generated a Report doing as you suggested, which made me&amp;nbsp;sensing it's a mandatory automated process within the Stored Process as indicated by Tools -&amp;gt; Options -&amp;gt; Stored Process, where I can't click a 'none' option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also tried ODS HTML CLOSE; and ODS _ALL_CLOSE; but&amp;nbsp;this also didn't&amp;nbsp;work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it could also be done by defining a variable _ODSDEST like this:&lt;/P&gt;&lt;P&gt;%global Varname&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; _ODSDEST;&lt;/P&gt;&lt;P&gt;%let _ODSDEST = NONE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works, as a report was suppressed but it did give me another error message asking whether or not there was a %STPBGN and %STPEND and if it performed without error. It did create the 2 tables without a report,&amp;nbsp;so&amp;nbsp;that's the way it worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 10:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-no-Sas-Report/m-p/351220#M23141</guid>
      <dc:creator>BaVe</dc:creator>
      <dc:date>2017-04-19T10:38:45Z</dc:date>
    </item>
  </channel>
</rss>

