<?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: Multiple dynamic prompts from a single control table in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596338#M5401</link>
    <description>&lt;P&gt;At the time I wrote this (2 years ago : )&amp;nbsp; I was hopeful that I could get it to work in the normalized vertical structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think transposing it to a wide format would be problematic, as each prompt could have a different number of value-label pairs.&amp;nbsp; I guess if there's an option to ignore null values it could work.&amp;nbsp; I hate the thought of a wide dataset like that, but I guess I could maintain the data in the vertical structure, and have a job that PROC TRANSPOSES it to be wide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Worth a thought, if I run into this again.&amp;nbsp; Thx.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 17:55:41 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2019-10-14T17:55:41Z</dc:date>
    <item>
      <title>Multiple dynamic prompts from a single control table</title>
      <link>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/361648#M5399</link>
      <description>&lt;P&gt;I'm trying to create a set of dynamic stored process prompts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have all the data needed to use as source data for the prompts in a single SAS dataset, that looks like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Prompt    Value   Label
Prompt1   A         Pretty A
Prompt1   B         Pretty B
Prompt2   X         Pretty X Label
Prompt2   Y         Pretty Y Label
....&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That dataset has all of the values and labels for a group of prompts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the best way for me to use this data as a source for the group of dynamic prompts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know I can split the data into one dataset for each prompt, and then register each of those tables and use them as a data source for each prompt.&amp;nbsp; But then I end&amp;nbsp;up with N SAS datasets (one for each prompt) and N registered tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would love to have just one SAS dataset and one registered table.&amp;nbsp; Could live with one sas dataset and N registered tables (i.e. each registered table represents a different subset of the SAS dataset).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see a way to register a metadata table and only use a subset of&amp;nbsp;SAS dataset rows.&amp;nbsp; And don't see a way to define a prompt using a metadata table as a source and only use a subset of rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps I should be making an InfoMap to use as a source for my prompts instead?&amp;nbsp; I haven't done that much, but I think there may be more subsetting options?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/361648#M5399</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2017-05-25T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dynamic prompts from a single control table</title>
      <link>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596289#M5400</link>
      <description>Have each of the prompts as separate fields in one metadata table.</description>
      <pubDate>Mon, 14 Oct 2019 14:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596289#M5400</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2019-10-14T14:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dynamic prompts from a single control table</title>
      <link>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596338#M5401</link>
      <description>&lt;P&gt;At the time I wrote this (2 years ago : )&amp;nbsp; I was hopeful that I could get it to work in the normalized vertical structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think transposing it to a wide format would be problematic, as each prompt could have a different number of value-label pairs.&amp;nbsp; I guess if there's an option to ignore null values it could work.&amp;nbsp; I hate the thought of a wide dataset like that, but I guess I could maintain the data in the vertical structure, and have a job that PROC TRANSPOSES it to be wide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Worth a thought, if I run into this again.&amp;nbsp; Thx.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 17:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596338#M5401</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2019-10-14T17:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dynamic prompts from a single control table</title>
      <link>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596340#M5402</link>
      <description>I noticed that nobody provided you with any suggestions which is why I decided to respond. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Unreplied-to questions are like a sad, cold puppy out in the rain... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The whole dynamic list is clumsy and limited, but at least it exists at all.  &lt;BR /&gt;&lt;BR /&gt;Having 4 fields in the table doesn't seem like that problematic to me.  I don't think you could do a transpose out to a metadata table but if you get it to work please share your success story.</description>
      <pubDate>Mon, 14 Oct 2019 18:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Multiple-dynamic-prompts-from-a-single-control-table/m-p/596340#M5402</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2019-10-14T18:10:54Z</dc:date>
    </item>
  </channel>
</rss>

