<?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: Save values from prompts in a SAS EG project in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187753#M14396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You, this is exactly what I looked for &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 08:20:32 GMT</pubDate>
    <dc:creator>DrBoogie</dc:creator>
    <dc:date>2014-02-27T08:20:32Z</dc:date>
    <item>
      <title>Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187747#M14390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a SAS EG project where some of parameteres are defined through the prompt mask. So, if starting this project the user have to select values for these parameters, using the prompt mask. What I want is to save the selected prompt values in some file (text, html, SAS - this does'n matter) at the end of the process, so that the user would be able to see afterwards, which values he(she) selected for this particular run. Is there some easy possibility to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Denis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 14:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187747#M14390</guid>
      <dc:creator>DrBoogie</dc:creator>
      <dc:date>2014-02-26T14:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187748#M14391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The prompts are stored as macro variables, so you can create a data set that contains the values and then save them out however you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie prompts = date_start date_end time_period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Save_Prompts;&lt;/P&gt;&lt;P&gt;Prompt="Date Start";&lt;/P&gt;&lt;P&gt;Value="&amp;amp;date_Start";&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;Prompt="Date End";&lt;/P&gt;&lt;P&gt;Value = "&amp;amp;date_end";&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;Prompt = "Time Period";&lt;/P&gt;&lt;P&gt;Value="Monthly";&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 15:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187748#M14391</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-26T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187749#M14392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but this approach doesn't work, I attempted it already. I obtain the note "Apparent symbolic reference ... not resolved". It seems that the macro variables from prompts are not global, so they are not available at the end of the process. And since I use wizard-generated queries and not programs in my process I don't know how I can declare these macro variables as global. :smileycry:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 16:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187749#M14392</guid>
      <dc:creator>DrBoogie</dc:creator>
      <dc:date>2014-02-26T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187750#M14393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggest you add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put _user_ ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and take a look at the log.&amp;nbsp; It should list all of the user-defined macro vaiables, and the prompts should be there.&amp;nbsp; I'm pretty sure they are global macro variables.&amp;nbsp; But I suppose it's possible that EG is deleting them for you at some point.&amp;nbsp; So you might try adding %put _user_; at multiple points in your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 16:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187750#M14393</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-02-26T16:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187751#M14394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So put that step into the process somewhere. Best way to do it anyways.&lt;/P&gt;&lt;P&gt;Make sure to use double quotes to get the variables to resolve. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 16:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187751#M14394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-26T16:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187752#M14395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you define the prompt, be sure to check the box "Use prompt value throughout project".&amp;nbsp; See the screenshot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="saveprompt.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/5031_saveprompt.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise the prompt mechanism will clear the macro variables (like a good macro citizen...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 20:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187752#M14395</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2014-02-26T20:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Save values from prompts in a SAS EG project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187753#M14396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You, this is exactly what I looked for &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Save-values-from-prompts-in-a-SAS-EG-project/m-p/187753#M14396</guid>
      <dc:creator>DrBoogie</dc:creator>
      <dc:date>2014-02-27T08:20:32Z</dc:date>
    </item>
  </channel>
</rss>

