<?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 in Visual analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292556#M5111</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/70043"&gt;@gauravp1993﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VA will always execute the stored process when the report opens, is refreshed, or after you change its prompt values. If you want to see a blank page by default, you must design you stored process to return an html output with no content by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2016 20:31:39 GMT</pubDate>
    <dc:creator>Renato_sas</dc:creator>
    <dc:date>2016-08-18T20:31:39Z</dc:date>
    <item>
      <title>Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/289494#M4974</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a report with 3 tabs,each having 3 different stored process and their prompt. But when i am opening the report,all the SP runs on its own showing output and no choice to select prompt again. if i am making report prompt compulasry, all the three report's prompt pops up while opening the report, together, creating chaos.Is there any way so that prompt for relative SP opens only when i switch to the respective tab of report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 12:12:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/289494#M4974</guid>
      <dc:creator>gauravp1993</dc:creator>
      <dc:date>2016-08-04T12:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/291946#M5080</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/70043"&gt;@gauravp1993﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you viewing the report in the Flash-based Viewer (mode=classic)? This viewer mode allows for changing Stored Process prompts by clicking on the question mark icon that shows up when the stored process object border is selected.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="STP Prompt" alt="STP Prompt" src="https://communities.sas.com/t5/image/serverpage/image-id/4613i150DD487448F8806/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/291946#M5080</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-08-16T16:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292207#M5100</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1484"&gt;@Renato_sas﻿&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not pretty much sure about which mode it is in, but i do see this question mark which helps me to reselect prompt for SP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i try to open my report in VA, it automatically shows popup to select prompt for SP, while i want it to be initially blank and then when i&amp;nbsp;click question mark,popup must come.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to do so?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 14:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292207#M5100</guid>
      <dc:creator>gauravp1993</dc:creator>
      <dc:date>2016-08-17T14:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292230#M5101</link>
      <description>&lt;P&gt;If you see the question mark icon, you must be running in the classic mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your stored process has parameters that are flagged as required, you must provide those default parameter values in the stored process object Properties tab. This is what guarantees the stored process has the parameters it needs to execute, otherwise the stored process will throw an error. I have never seen a stored process in VA that prompts for its paramters by poping up its prompt interface automatically. Maybe I'm misundertanding what you are saying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is is possible to send some screenshots?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 17:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292230#M5101</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-08-17T17:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292437#M5106</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1484"&gt;@Renato_sas&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;If you see the question mark icon, you must be running in the classic mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your stored process has parameters that are flagged as required, you must provide those default parameter values in the stored process object Properties tab. This is what guarantees the stored process has the parameters it needs to execute, otherwise the stored process will throw an error. I have never seen a stored process in VA that prompts for its paramters by poping up its prompt interface automatically. Maybe I'm misundertanding what you are saying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is is possible to send some screenshots?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Renato&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, i have made one of my prompt for select as compulsary, but along with this i haven't set any default value for that compulsary selection. thus instead of throwing error,it automatically prompt me for selection to be done when VA reoprt is opened in viewer mode and data to be provided so that SP works and give the required output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 12:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292437#M5106</guid>
      <dc:creator>gauravp1993</dc:creator>
      <dc:date>2016-08-18T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292442#M5108</link>
      <description>&lt;P&gt;Just to clarify, does it mean that if you provide a default value for your stored process parameters in VA it solves the problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292442#M5108</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-08-18T13:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292530#M5109</link>
      <description>No,then it autoexecutes SP and give output, while i want blank page after opening report.after this blank page i need to click question mark to select prompt.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2016 19:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292530#M5109</guid>
      <dc:creator>gauravp1993</dc:creator>
      <dc:date>2016-08-18T19:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292556#M5111</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/70043"&gt;@gauravp1993﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VA will always execute the stored process when the report opens, is refreshed, or after you change its prompt values. If you want to see a blank page by default, you must design you stored process to return an html output with no content by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 20:31:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/292556#M5111</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-08-18T20:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/296918#M5305</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1484"&gt;@Renato_sas&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/70043"&gt;@gauravp1993&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you viewing the report in the Flash-based Viewer (mode=classic)? This viewer mode allows for changing Stored Process prompts by clicking on the question mark icon that shows up when the stored process object border is selected.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4613i150DD487448F8806/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="STP Prompt" title="STP Prompt" /&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Renato&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am getting this for refreshing prompts. is it possible to make it permanently available as it gets hidden while switching reports tab.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 08:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/296918#M5305</guid>
      <dc:creator>gauravp1993</dc:creator>
      <dc:date>2016-09-07T08:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/297394#M5327</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/70043"&gt;@gauravp1993﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the default prompt interface behavior. If you want, you can implement your own prompt interface (as a HTML form for example) that is part of your stored process output. In other words, your stored process would have to programatically create the HTML form with the prompts needed and stream it back to the calling application as part of the stored process logic. Streaming is accomplished by writing to _WEBOUT. It would be something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%global param_1;
%global param_N;
      
ods listing close;
ods html body=_webout;

* code that streams HTML form here;

* code that creates visual output based on parameters here (SAS procs, etc.);

ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of what the code that streams HTML form could be. Observe that is contains a submit button that re-executes the stored process with the selected parameter:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  format infile $char512.;
  input;
  infile = resolve(_infile_);
  file _webout;
  put infile;
cards4;
&amp;lt;FORM ACTION="&amp;amp;_URL" METHOD="post"&amp;gt;
&amp;lt;INPUT TYPE="HIDDEN" NAME="_program" VALUE="&amp;amp;_PROGRAM" /&amp;gt; 

&amp;lt;b&amp;gt;Select a region:&amp;lt;/b&amp;gt;  &amp;lt;SELECT NAME="param_1"&amp;gt;
&amp;lt;OPTION VALUE="Africa"&amp;gt;Africa
&amp;lt;OPTION VALUE="Asia"&amp;gt;Asia
&amp;lt;OPTION VALUE="Central America/Caribbean"&amp;gt;Central America/Caribbean
&amp;lt;OPTION VALUE="Eastern Europe"&amp;gt;Eastern Europe
&amp;lt;OPTION VALUE="Middle East"&amp;gt;Middle East
&amp;lt;OPTION VALUE="Pacific"&amp;gt;Pacific
&amp;lt;OPTION VALUE="South America"&amp;gt;South America
&amp;lt;OPTION VALUE="United States"&amp;gt;United States
&amp;lt;OPTION VALUE="Western Europe"&amp;gt;Western Europe
&amp;lt;/SELECT&amp;gt;

&amp;lt;HR&amp;gt;
&amp;lt;INPUT TYPE="SUBMIT" VALUE="Execute"&amp;gt;

&amp;lt;/FORM&amp;gt; 
;;;;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The values displayed in the select tag above could have been dinamically defined, based on your data (you are running a datastep).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can (or maybe should) add logic to make sure the default prompt values displayed in your HTML form are set according to the stored process parameter values (macro variables &amp;amp;param_1, etc. in the example above).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 13:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/297394#M5327</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-09-09T13:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/301691#M5493</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Interesting article. I'm doing something similar like creating custom calendars using stored process webout. Once its used as a prompt&amp;nbsp;&lt;EM&gt;in VA can i set interactions with&amp;nbsp;&lt;/EM&gt;custom calendar and list / crosstab&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 03:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/301691#M5493</guid>
      <dc:creator>Sac2001</dc:creator>
      <dc:date>2016-09-30T03:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Stored process in Visual analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/301763#M5494</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because stored processes are based on custom code and could do a multitude of different things, without necessarily producing any visual content, they cannot be used in interactions in VA reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Renato&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:51:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Stored-process-in-Visual-analytics/m-p/301763#M5494</guid>
      <dc:creator>Renato_sas</dc:creator>
      <dc:date>2016-09-30T14:51:52Z</dc:date>
    </item>
  </channel>
</rss>

