<?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 SAS Customer Intelligence Studio - Pop up Window for Errors in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-Customer-Intelligence-Studio-Pop-up-Window-for-Errors/m-p/911281#M1972</link>
    <description>&lt;P&gt;We use Stored Procedures and Stored Proc nodes in campaigns in SAS CI studio. When a Stored proc node fails, SAS CI Studio puts a general error message in a pop up window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We currently open the Stored Proc node and copy the log to a WORD document and then search for the errors - search the document from the bottom up to find the last error in the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we post specific error messages (or the last error)&amp;nbsp; in a pop up window in SAS CI Studio?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 15:19:00 GMT</pubDate>
    <dc:creator>DarrylLawrence</dc:creator>
    <dc:date>2024-01-11T15:19:00Z</dc:date>
    <item>
      <title>SAS Customer Intelligence Studio - Pop up Window for Errors</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-Customer-Intelligence-Studio-Pop-up-Window-for-Errors/m-p/911281#M1972</link>
      <description>&lt;P&gt;We use Stored Procedures and Stored Proc nodes in campaigns in SAS CI studio. When a Stored proc node fails, SAS CI Studio puts a general error message in a pop up window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We currently open the Stored Proc node and copy the log to a WORD document and then search for the errors - search the document from the bottom up to find the last error in the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we post specific error messages (or the last error)&amp;nbsp; in a pop up window in SAS CI Studio?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 15:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-Customer-Intelligence-Studio-Pop-up-Window-for-Errors/m-p/911281#M1972</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2024-01-11T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Customer Intelligence Studio - Pop up Window for Errors</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-Customer-Intelligence-Studio-Pop-up-Window-for-Errors/m-p/911356#M1973</link>
      <description>&lt;P&gt;Hi Darryl,&lt;/P&gt;
&lt;P&gt;Yes there is! and in fact it seems to be in your code but commented out:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*%let mamsg=ERROR: Known Voucher File selected for APPL or PROSP Customers"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Whatever you set MAMsg to be will be displayed to the user in CI Studio instead of the generic message. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%if %nrquote(&amp;amp;SQLRC) ne %nrquote(0) %then %do;
       /*abort processing if last proc sql failed failed*/
       /* set a customer error message for my system */
               %let MAError = 913;
       /* optionally I can set SAS sysmsg */
               %let sysmsg="Something didnt work. My explanation is here";
       /* set the message that will displayed to the user. I can tell them which macro failed if that is useful, plus show my custom error message, as well as verbose text with a plain english explanation of what went wrong */
                %let MAMsg = Macro[&amp;amp;sysmacroname.]. MAError=&amp;amp;MAError / Error in Rename macro. Export file does not exist. Check the log for details.;

              %return;
%end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 08:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-Customer-Intelligence-Studio-Pop-up-Window-for-Errors/m-p/911356#M1973</guid>
      <dc:creator>JamesAnderson</dc:creator>
      <dc:date>2024-01-12T08:34:09Z</dc:date>
    </item>
  </channel>
</rss>

