<?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 SAS EG: Need help understanding how Dynamic Prompt List of SP works in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Need-help-understanding-how-Dynamic-Prompt-List-of-SP/m-p/831039#M41344</link>
    <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm new to Stored Process and after all the research and everything I think I'm now into the correct path of asking the right questions. So, my development now is to update the prompt of an existing Stored Process and make it reflect the correct list from a certain data source. Now, here are my questions, please correct me if my terms are wrong. Thank you so much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;Am I right to call the encircled part of the picture below as the "Prompt List"? If not, what is it called and how do I make this dynamic that it updates itself right after I hit the RUN button so it can reflect whatever changes made to its data source?&lt;/FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsndrct1234_0-1661839808348.png" style="width: 0px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74844i6FC6B1FA2F115512/image-size/small?v=v2&amp;amp;px=200" width="0" height="0" role="button" title="tsndrct1234_0-1661839808348.png" alt="tsndrct1234_0-1661839808348.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsndrct1234_0-1661841208479.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74845i2DF0C4534A93BF92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsndrct1234_0-1661841208479.png" alt="tsndrct1234_0-1661841208479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;The goal is to add new category to that list but it's gonna be from a different table. Further checking the code inside the Stored Process, I assumed that the block of code inside the SP is the source of it, but I realized lately that it's not because after I ran multiple times, the code below won't update that prompt list. Note that my change is from UNION onwards. Am I barking at the wrong tree? Or is there a specific configuration that populates that list? Here's the list INSIDE the SP:&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table work.fi_list as
select distinct case 
                          when bnk in (0, 5) then 'Universal and Commercial Bank'
                          when bnk in (1, 2, 3, 7) then 'Thrift Bank'
                          when bnk in (4, 8) then 'Rural and Cooperative Bank'
                          when bnk = 57 then 'Trust Corporation'
                          else 'Non-Bank Financial Institution'
          from LIB1.DTSRC1
union
select distinct case 
                          when bnk = 31 then 'Pawnshop'
                          when bnk = 60 then 'Money Service Businesses'
                          else 'Non-Bank Financial Institution'
             from LIB2.DTSRC2;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;Is there any other way to trace how a certain SAS table is populated aside from using the "search" option on SAS EG, SAS DI and SAS MC? Unfortunately, I don't have access to their server/unix box. Also I don't think this project have an repository of all their codes so I'm really running out of options of tracing the other possible creator of that data source.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;Do I really need to use the SASSRV user in order for me to fully test the Stored Processes?&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 06:33:30 GMT</pubDate>
    <dc:creator>meatballs12345</dc:creator>
    <dc:date>2022-08-30T06:33:30Z</dc:date>
    <item>
      <title>SAS EG: Need help understanding how Dynamic Prompt List of SP works</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Need-help-understanding-how-Dynamic-Prompt-List-of-SP/m-p/831039#M41344</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm new to Stored Process and after all the research and everything I think I'm now into the correct path of asking the right questions. So, my development now is to update the prompt of an existing Stored Process and make it reflect the correct list from a certain data source. Now, here are my questions, please correct me if my terms are wrong. Thank you so much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;Am I right to call the encircled part of the picture below as the "Prompt List"? If not, what is it called and how do I make this dynamic that it updates itself right after I hit the RUN button so it can reflect whatever changes made to its data source?&lt;/FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsndrct1234_0-1661839808348.png" style="width: 0px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74844i6FC6B1FA2F115512/image-size/small?v=v2&amp;amp;px=200" width="0" height="0" role="button" title="tsndrct1234_0-1661839808348.png" alt="tsndrct1234_0-1661839808348.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsndrct1234_0-1661841208479.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74845i2DF0C4534A93BF92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsndrct1234_0-1661841208479.png" alt="tsndrct1234_0-1661841208479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;The goal is to add new category to that list but it's gonna be from a different table. Further checking the code inside the Stored Process, I assumed that the block of code inside the SP is the source of it, but I realized lately that it's not because after I ran multiple times, the code below won't update that prompt list. Note that my change is from UNION onwards. Am I barking at the wrong tree? Or is there a specific configuration that populates that list? Here's the list INSIDE the SP:&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table work.fi_list as
select distinct case 
                          when bnk in (0, 5) then 'Universal and Commercial Bank'
                          when bnk in (1, 2, 3, 7) then 'Thrift Bank'
                          when bnk in (4, 8) then 'Rural and Cooperative Bank'
                          when bnk = 57 then 'Trust Corporation'
                          else 'Non-Bank Financial Institution'
          from LIB1.DTSRC1
union
select distinct case 
                          when bnk = 31 then 'Pawnshop'
                          when bnk = 60 then 'Money Service Businesses'
                          else 'Non-Bank Financial Institution'
             from LIB2.DTSRC2;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;Is there any other way to trace how a certain SAS table is populated aside from using the "search" option on SAS EG, SAS DI and SAS MC? Unfortunately, I don't have access to their server/unix box. Also I don't think this project have an repository of all their codes so I'm really running out of options of tracing the other possible creator of that data source.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#000080"&gt;Do I really need to use the SASSRV user in order for me to fully test the Stored Processes?&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 06:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Need-help-understanding-how-Dynamic-Prompt-List-of-SP/m-p/831039#M41344</guid>
      <dc:creator>meatballs12345</dc:creator>
      <dc:date>2022-08-30T06:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG: Need help understanding how Dynamic Prompt List of SP works</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Need-help-understanding-how-Dynamic-Prompt-List-of-SP/m-p/831138#M41347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have a look at this presentation&amp;nbsp;&lt;A title="Using Dynamic Lists in SAS Stored Processes for Genetic Toxicity" href="https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fwww.lexjansen.com%2Fphuse%2F2011%2Fts%2FTS02_ppt.ppt&amp;amp;wdOrigin=BROWSELINK" target="_blank" rel="noopener"&gt;Using Dynamic Lists in SAS Stored Processes for Genetic Toxicity&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are additional links to How to use the Prompt Framework&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="Getting Started with SAS®  Prompts " href="https://support.sas.com/resources/papers/proceedings17/0818-2017.pdf" target="_blank" rel="noopener"&gt;Getting Started with SAS® Prompts &lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A title="Be Prompt! Do it Now!  Creating and Using Prompts in SAS Enterprise Guide " href="https://www.mwsug.org/proceedings/2016/BB/MWSUG-2016-BB06.pdf" target="_blank" rel="noopener"&gt;Be Prompt! Do it Now! Creating and Using Prompts in SAS Enterprise Guide &lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Note: while the two links above are related to SAS Enterprise Guide, the Interface almost identical for the SAS Stored Process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 17:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Need-help-understanding-how-Dynamic-Prompt-List-of-SP/m-p/831138#M41347</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2022-08-30T17:51:01Z</dc:date>
    </item>
  </channel>
</rss>

