<?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: Why stored process dynamic filter not retrive data from stored process temp table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149969#M11749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quentin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sp_result.Final is source, sp_result.Temp is source which created in previous data step with new defined variables.&lt;/P&gt;&lt;P&gt;sp_result.Final is output table.&lt;/P&gt;&lt;P&gt;yes, after I ran data step, I had registered sp_result.Temp table in metadata, that's why I would have been able to set up prompt to refresh_date and&amp;nbsp; refresh_mon&amp;nbsp; from sp_result.temp table and able to get old date/month values for filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adding step one more time with udpations...&lt;/P&gt;&lt;P&gt;1.which read data from DB table to&lt;/P&gt;&lt;P&gt;2.create temp table with new derived(date conversion variables), then registered temp table in Metadata.&lt;/P&gt;&lt;P&gt;3.create another table with complete where condition for Dynamic filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see month and dates details in promt drop down which were there when the stp created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yesterday data been refreshed, the new month and date not being pulled and avaible in Dynamic prompt to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2014 10:19:56 GMT</pubDate>
    <dc:creator>Ram4sas</dc:creator>
    <dc:date>2014-05-08T10:19:56Z</dc:date>
    <item>
      <title>Why stored process dynamic filter not retrive data from stored process temp table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149967#M11747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have below stored process to do below task...&lt;/P&gt;&lt;P&gt;1.which read data from DB table to&lt;/P&gt;&lt;P&gt;2.create temp table with new derived(date conversion variables)&lt;/P&gt;&lt;P&gt;3.create another table with complete where condition for Dynamic filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libname source DB server user=xxxxx pw=xxxxx ;.&lt;/P&gt;&lt;P&gt;libanme sp_result 'c:/programFiles/data';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data sp_result.temp;&lt;/P&gt;&lt;P&gt;set source.temp;&lt;/P&gt;&lt;P&gt;refresh_date=Input(r_date,Informat);&lt;/P&gt;&lt;P&gt;refresh_mon=Input(r_month,Informat);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create table sp_result.Final as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from sp_result.temp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where refresh_mon eq &amp;amp;refresh_mon and refresh_date eq &amp;amp;refresh_date;/* here &amp;amp;refresh_mon and &amp;amp;refresh_date is dynamic prompts set up done.&lt;/P&gt;&lt;P&gt;Quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I run this code, the prompts are prompting and displays single date values which were old dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but after data refresh done with new refresh month and date , the newly added refresh mon, refresh_date details not retrieve/available in dynamic prompt to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why this strange behavior with Stored Process occurring with my code? is there some thing I am missing to add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 09:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149967#M11747</guid>
      <dc:creator>Ram4sas</dc:creator>
      <dc:date>2014-05-08T09:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why stored process dynamic filter not retrive data from stored process temp table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149968#M11748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are using sp_result.Final as the source data for your dynamic prompts, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you registered that table in the metadata, did the variables refresh_date and and refresh_mon exist? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like these were never registered.&amp;nbsp; I would suggest you re-register the table (update metadata).&amp;nbsp; And then take a look through EG to make sure you can see these columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 10:02:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149968#M11748</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-05-08T10:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why stored process dynamic filter not retrive data from stored process temp table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149969#M11749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quentin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sp_result.Final is source, sp_result.Temp is source which created in previous data step with new defined variables.&lt;/P&gt;&lt;P&gt;sp_result.Final is output table.&lt;/P&gt;&lt;P&gt;yes, after I ran data step, I had registered sp_result.Temp table in metadata, that's why I would have been able to set up prompt to refresh_date and&amp;nbsp; refresh_mon&amp;nbsp; from sp_result.temp table and able to get old date/month values for filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adding step one more time with udpations...&lt;/P&gt;&lt;P&gt;1.which read data from DB table to&lt;/P&gt;&lt;P&gt;2.create temp table with new derived(date conversion variables), then registered temp table in Metadata.&lt;/P&gt;&lt;P&gt;3.create another table with complete where condition for Dynamic filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see month and dates details in promt drop down which were there when the stp created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yesterday data been refreshed, the new month and date not being pulled and avaible in Dynamic prompt to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 10:19:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149969#M11749</guid>
      <dc:creator>Ram4sas</dc:creator>
      <dc:date>2014-05-08T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why stored process dynamic filter not retrive data from stored process temp table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149970#M11750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh so sp_result.Temp is the source data for your dynamic prompt, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's working now so that when you run the stored proecess, you see the prompt values from that table.&amp;nbsp;&amp;nbsp; The the problem is you don't see the new values added yesterday (i.e. new records you added yestereday to sp_result.Temp).&amp;nbsp; Is that right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you PROC PRINT sp_result.Temp do you see the new records that were added yesterday?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 12:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-stored-process-dynamic-filter-not-retrive-data-from-stored/m-p/149970#M11750</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-05-08T12:40:46Z</dc:date>
    </item>
  </channel>
</rss>

