<?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 Single Value Prompts With Dynamic Stored Processes in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Single-Value-Prompts-With-Dynamic-Stored-Processes/m-p/367780#M24070</link>
    <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'm working on a SAS Enterprise Guide &lt;FONT face="arial,helvetica,sans-serif"&gt;S&lt;/FONT&gt;tored &lt;FONT size="2"&gt;Process - using the Wizards. This will be handed off to a user&amp;nbsp;who&amp;nbsp;doesn't want to code, so will need to be super simple.&lt;/FONT&gt;&amp;nbsp;I have four variables. Those four variables need to have a single default value.&amp;nbsp;There should be only one variable to one value. User is allowed to specify additional values, and results are output to a secondary&amp;nbsp;table (the user&amp;nbsp;input does not&amp;nbsp;change default values).&lt;BR /&gt;&lt;BR /&gt;Here is an example of the defualt data that I'm working with:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; CPU = 1000;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Inv = 20000;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Hra = 112;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Wind = 16;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="1"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; mylib.default_parms; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Var_name &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="1"&gt;$18.&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Value &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="1"&gt;6.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'CPU'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;CPU"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'Inv Level'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;Inv"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_Name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'Heart Rate Average'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;Hra"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'Wind Speed'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;Wind"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;The current default values&amp;nbsp;are&amp;nbsp;approx. 80% of "max-value", and the range is [ 0 : "max-value" ]. A user can request that the default value be changed to&amp;nbsp;75%. So&amp;nbsp;on the backend we would&amp;nbsp;(alter the default_parms table created&amp;nbsp;above with a) change to the&amp;nbsp;let statements.&amp;nbsp;Wind Speed&amp;nbsp;would be 15 instead of 16. This&amp;nbsp;will then automatically display&amp;nbsp;the new&amp;nbsp;default value (not the difficult part). I have only been able to achieved this by using dynamic lists.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, here is where the issue is, when using dynamic lists&amp;nbsp;the CPU drop down should only have 1000 displayed. Instead the drop down is including&amp;nbsp;all values that qualify within range&amp;nbsp;- i.e. 112 for Heart Rates&amp;nbsp;and 16 for Wind Speed both display. I have only been able to achieve this by using static lists.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Is this within the prompt wizards and Stored Process wizards capabilities? Can I specify the single default dynamic&amp;nbsp;values with no additional drop down values?&lt;BR /&gt;&lt;BR /&gt;I have attached an example of my prompt settings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Jace&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13960iD17302432ADED9F1/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stored_Process.jpg" title="Stored_Process.jpg" /&gt;</description>
    <pubDate>Fri, 16 Jun 2017 16:06:33 GMT</pubDate>
    <dc:creator>Jwcris</dc:creator>
    <dc:date>2017-06-16T16:06:33Z</dc:date>
    <item>
      <title>Single Value Prompts With Dynamic Stored Processes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Single-Value-Prompts-With-Dynamic-Stored-Processes/m-p/367780#M24070</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'm working on a SAS Enterprise Guide &lt;FONT face="arial,helvetica,sans-serif"&gt;S&lt;/FONT&gt;tored &lt;FONT size="2"&gt;Process - using the Wizards. This will be handed off to a user&amp;nbsp;who&amp;nbsp;doesn't want to code, so will need to be super simple.&lt;/FONT&gt;&amp;nbsp;I have four variables. Those four variables need to have a single default value.&amp;nbsp;There should be only one variable to one value. User is allowed to specify additional values, and results are output to a secondary&amp;nbsp;table (the user&amp;nbsp;input does not&amp;nbsp;change default values).&lt;BR /&gt;&lt;BR /&gt;Here is an example of the defualt data that I'm working with:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; CPU = 1000;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Inv = 20000;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Hra = 112;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Wind = 16;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="1"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; mylib.default_parms; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;length&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Var_name &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="1"&gt;$18.&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt; Value &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="1"&gt;6.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'CPU'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;CPU"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'Inv Level'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;Inv"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_Name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'Heart Rate Average'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;Hra"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="1"&gt;Var_name = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;'Wind Speed'&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; Value = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="1"&gt;"&amp;amp;Wind"&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="1"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;The current default values&amp;nbsp;are&amp;nbsp;approx. 80% of "max-value", and the range is [ 0 : "max-value" ]. A user can request that the default value be changed to&amp;nbsp;75%. So&amp;nbsp;on the backend we would&amp;nbsp;(alter the default_parms table created&amp;nbsp;above with a) change to the&amp;nbsp;let statements.&amp;nbsp;Wind Speed&amp;nbsp;would be 15 instead of 16. This&amp;nbsp;will then automatically display&amp;nbsp;the new&amp;nbsp;default value (not the difficult part). I have only been able to achieved this by using dynamic lists.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, here is where the issue is, when using dynamic lists&amp;nbsp;the CPU drop down should only have 1000 displayed. Instead the drop down is including&amp;nbsp;all values that qualify within range&amp;nbsp;- i.e. 112 for Heart Rates&amp;nbsp;and 16 for Wind Speed both display. I have only been able to achieve this by using static lists.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Is this within the prompt wizards and Stored Process wizards capabilities? Can I specify the single default dynamic&amp;nbsp;values with no additional drop down values?&lt;BR /&gt;&lt;BR /&gt;I have attached an example of my prompt settings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Jace&lt;/FONT&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13960iD17302432ADED9F1/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Stored_Process.jpg" title="Stored_Process.jpg" /&gt;</description>
      <pubDate>Fri, 16 Jun 2017 16:06:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Single-Value-Prompts-With-Dynamic-Stored-Processes/m-p/367780#M24070</guid>
      <dc:creator>Jwcris</dc:creator>
      <dc:date>2017-06-16T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value Prompts With Dynamic Stored Processes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Single-Value-Prompts-With-Dynamic-Stored-Processes/m-p/596291#M34915</link>
      <description>You could put an 'x' in front of the CPU values beyond 1,000...that would filter them out because of the 'allow only integer values' condition you selected.</description>
      <pubDate>Mon, 14 Oct 2019 15:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Single-Value-Prompts-With-Dynamic-Stored-Processes/m-p/596291#M34915</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2019-10-14T15:02:31Z</dc:date>
    </item>
  </channel>
</rss>

