<?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: Auto Define Prompts in project in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/652001#M195681</link>
    <description>&lt;P&gt;So if you have a table with dates you can loop over the dates.&amp;nbsp; You do not need dynamic prompts, I'd suggest using a CALL EXECUTE construct that calls a macro and passes the date value from your table to the macro. Not seeing your data I can't be more specific, however, suggest you read this article that explains this concept really well&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.lexjansen.com/phuse/2014/cc/CC06.pdf" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/phuse/2014/cc/CC06.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also this blog explains how this logic works&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/08/02/call-execute-for-sas-data-driven-programming/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/08/02/call-execute-for-sas-data-driven-programming/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have more questions&lt;/P&gt;</description>
    <pubDate>Sat, 30 May 2020 18:55:39 GMT</pubDate>
    <dc:creator>ghosh</dc:creator>
    <dc:date>2020-05-30T18:55:39Z</dc:date>
    <item>
      <title>Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/650523#M195065</link>
      <description>&lt;P&gt;Hello All!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running EG 7.15 HSF7 on a windows 10 ENT 19.03.&amp;nbsp; My EG connected remotely to the SAS server 9.4 M6 on a Linux server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what i am trying to do... i have a date range i use for many of my reports.&amp;nbsp; What i would like to do is take the date prompt for the start_date and create a %let statement that first reads the start date prompt in the project and then looks at a static table (Fiscal Dates) to find the weekly start date as well as the monthly start date ( 2 different prompts).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently i have prompts setup that i have to change weekly/monthly and its a lot of projects that i have to switch around every week.&amp;nbsp; Even if i am pointed in the right direction here i wold be very happy.&amp;nbsp; These are all projects that auto-run every day.. if i have them run automatically and I do not have to change each of the projects prompts to run the correct week beginning and monthly start date... it would save me so much time.&amp;nbsp; I have a feeling that i haven't turned up much because i am not getting the correct keywords in my search.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DZ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dean Zipperer&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 20:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/650523#M195065</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2020-05-25T20:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/650526#M195067</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done exactly this.&amp;nbsp; When the project is run, the user is shown a menu using the EG static prompt feature where they can input the start and end dates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what you mean in your first sentence of your third para, but since you asked to be pointed in the right direction, here is a link you may wish to read the following&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/309-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/309-2011.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://www.geraldbelton.com/post/sas-prompts/sas-prompts/" target="_blank"&gt;https://www.geraldbelton.com/post/sas-prompts/sas-prompts/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 20:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/650526#M195067</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-25T20:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/651875#M195617</link>
      <description>&lt;P&gt;Sorry for not posting sooner.&amp;nbsp; I had come across both of those papers on those links and I couldn't find what i needed to do it.. so i finally just gave up.&amp;nbsp; I was ultimately trying to save time changing prompts dates every week but it doesn't look like its going to happen right now.&amp;nbsp; I just haven't been able to find a way to do it as of yet.&amp;nbsp; I will have to dig in more when i have some additional time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DZ&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 20:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/651875#M195617</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2020-05-29T20:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/651899#M195632</link>
      <description>&lt;P&gt;Are you just looking to have a menu pop up when you run a project to input start and end dates either manually or from a calendar?&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 00:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/651899#M195632</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-30T00:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/651991#M195674</link>
      <description>&lt;P&gt;These projects run on a schedule via windows scheduler.&amp;nbsp; What i was trying to do was change the month starting date and the week starting date to be automatic instead of me having to open the project every Monday morning and change the week start date/and or the month start date.&amp;nbsp; I wanted it to change dates dynamically without human intervention based on a table i have set up with the fiscal dates, weeks and months.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DZ&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 17:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/651991#M195674</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2020-05-30T17:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/652001#M195681</link>
      <description>&lt;P&gt;So if you have a table with dates you can loop over the dates.&amp;nbsp; You do not need dynamic prompts, I'd suggest using a CALL EXECUTE construct that calls a macro and passes the date value from your table to the macro. Not seeing your data I can't be more specific, however, suggest you read this article that explains this concept really well&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.lexjansen.com/phuse/2014/cc/CC06.pdf" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/phuse/2014/cc/CC06.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also this blog explains how this logic works&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/08/02/call-execute-for-sas-data-driven-programming/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/08/02/call-execute-for-sas-data-driven-programming/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have more questions&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 18:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/652001#M195681</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-30T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Define Prompts in project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/652007#M195684</link>
      <description>This looks exactly what i need to do this.  thanks so much!</description>
      <pubDate>Sat, 30 May 2020 19:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Auto-Define-Prompts-in-project/m-p/652007#M195684</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2020-05-30T19:49:31Z</dc:date>
    </item>
  </channel>
</rss>

