<?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: WRS InfoMap Prompt Values as STP Global Variable in Web Session in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66458#M1340</link>
    <description>Just to clarify. I am looking for the SAS Base code that I can use in my STP to access the variables. &lt;BR /&gt;
&lt;BR /&gt;
when we do a proc print statement in an stp that should simply print the marco variable that has been created through the user prompt selection and insert that STP in the web report we did not see a result.</description>
    <pubDate>Wed, 18 May 2011 08:01:20 GMT</pubDate>
    <dc:creator>metalray</dc:creator>
    <dc:date>2011-05-18T08:01:20Z</dc:date>
    <item>
      <title>WRS InfoMap Prompt Values as STP Global Variable in Web Session</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66457#M1339</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
we have a stored process that is part of an information map.&lt;BR /&gt;
the stp just fetches and cleans some OLAP data while the info map&lt;BR /&gt;
provides the prompts and clean data presentation. now we&lt;BR /&gt;
have the info map in the web report as a source and we place&lt;BR /&gt;
an additional stp on the web report which should get the values from &lt;BR /&gt;
the prompts as global macro variables to be used on other reports as well (other stps).&lt;BR /&gt;
&lt;BR /&gt;
our issue is:&lt;BR /&gt;
how to access the values from the prompts?&lt;BR /&gt;
&lt;BR /&gt;
we cant use the following:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/40/758.html" target="_blank"&gt;http://support.sas.com/kb/40/758.html&lt;/A&gt;&lt;BR /&gt;
-because prompt values are defined in the info map, if defined in STP the&lt;BR /&gt;
prompts are displayed before the data is ready and they dont work&lt;BR /&gt;
&lt;BR /&gt;
regards,&lt;BR /&gt;
bob</description>
      <pubDate>Tue, 17 May 2011 14:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66457#M1339</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-05-17T14:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: WRS InfoMap Prompt Values as STP Global Variable in Web Session</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66458#M1340</link>
      <description>Just to clarify. I am looking for the SAS Base code that I can use in my STP to access the variables. &lt;BR /&gt;
&lt;BR /&gt;
when we do a proc print statement in an stp that should simply print the marco variable that has been created through the user prompt selection and insert that STP in the web report we did not see a result.</description>
      <pubDate>Wed, 18 May 2011 08:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66458#M1340</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-05-18T08:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: WRS InfoMap Prompt Values as STP Global Variable in Web Session</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66459#M1341</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
we have three prompts that are defined within an STP that is then inserted on &lt;BR /&gt;
a web report. The hope is that those three prompts (their source is an InfoMap)&lt;BR /&gt;
will create three macro variables that share the same name as the prompts themselves.&lt;BR /&gt;
&lt;BR /&gt;
We read a tutorial that mentioned that Prompt and their values will be available as global macro&lt;BR /&gt;
variables automatically but this is not what we observed hence,&lt;BR /&gt;
on the same web report is a second STP that makes those macro variables global macro variables:&lt;BR /&gt;
&lt;BR /&gt;
--STP 2--&lt;BR /&gt;
%global year quarter month  indicator scenario wertetyp;&lt;BR /&gt;
&lt;BR /&gt;
A third STP on the very same report is then trying to use those macro variables (global or not)&lt;BR /&gt;
but we have no success. The STP (3) does not display anything. &lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
create view work.DrillThrough as &lt;BR /&gt;
select  a.team, b.* &lt;BR /&gt;
from new a join v_fakt b on a.wer_id=b.werr_id&lt;BR /&gt;
where jahr="&amp;amp;year" and quartal="&amp;amp;quarter" and monat="&amp;amp;month";&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
As a temporary solution we write the values to a data set and read it out of there&lt;BR /&gt;
but the solution does not scale up well for hundreds of users.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?</description>
      <pubDate>Fri, 20 May 2011 15:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66459#M1341</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-05-20T15:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: WRS InfoMap Prompt Values as STP Global Variable in Web Session</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66460#M1342</link>
      <description>Here is a SAS Sample on how to utilize prompts within all sections of your Web Report Studio Report:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/40/758.html" target="_blank"&gt;http://support.sas.com/kb/40/758.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
~ Angela</description>
      <pubDate>Mon, 23 May 2011 18:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66460#M1342</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2011-05-23T18:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: WRS InfoMap Prompt Values as STP Global Variable in Web Session</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66461#M1343</link>
      <description>Hi Angela,&lt;BR /&gt;
&lt;BR /&gt;
I just learned that Global macro variables are so named because they have global scope&lt;BR /&gt;
within a single SAS process (as compared with local macro variables&lt;BR /&gt;
scoped within individual macros in the same process). Unfortunately&lt;BR /&gt;
they are not global across SAS processes which is why we multiple stored process&lt;BR /&gt;
are not able to "communicate" to each other.&lt;BR /&gt;
&lt;BR /&gt;
What we are doing now, is passing values between the stored process&lt;BR /&gt;
by using shared data sets and that seems to be the only solution.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Bob</description>
      <pubDate>Thu, 26 May 2011 08:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WRS-InfoMap-Prompt-Values-as-STP-Global-Variable-in-Web-Session/m-p/66461#M1343</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-05-26T08:49:08Z</dc:date>
    </item>
  </channel>
</rss>

