<?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: Using prompt to populate table with two columns in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/489007#M72053</link>
    <description>&lt;P&gt;Have you looked at SAS Screen Control Language examples?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 18:58:10 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2018-08-22T18:58:10Z</dc:date>
    <item>
      <title>Using prompt to populate table with two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/488893#M72036</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add a prompt that would allow the user to populate the following table using the prompt instead of manually adjusting the code.&lt;/P&gt;&lt;P&gt;Ideally, the user would be able to input multiple names and the associated gender.&lt;/P&gt;&lt;P&gt;The two variables:&lt;/P&gt;&lt;P&gt;Name $30&lt;/P&gt;&lt;P&gt;Gender $6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

DATA gender_names_v2_add;

set gender_names_v1 (drop= datetime);

INPUT NAME GENDER; 

DATALINES;

PIEROLIVIER M

RUN; 

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:17:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/488893#M72036</guid>
      <dc:creator>camfarrell25</dc:creator>
      <dc:date>2018-08-22T14:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using prompt to populate table with two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/488920#M72039</link>
      <description>&lt;P&gt;So what is the question you need help with?&lt;/P&gt;
&lt;P&gt;What are your parameter names and what's not working? I see no reference to your parameters in your code for starters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/81770"&gt;@camfarrell25&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to add a prompt that would allow the user to populate the following table using the prompt instead of manually adjusting the code.&lt;/P&gt;
&lt;P&gt;Ideally, the user would be able to input multiple names and the associated gender.&lt;/P&gt;
&lt;P&gt;The two variables:&lt;/P&gt;
&lt;P&gt;Name $30&lt;/P&gt;
&lt;P&gt;Gender $6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

DATA gender_names_v2_add;

set gender_names_v1 (drop= datetime);

INPUT NAME GENDER; 

DATALINES;

PIEROLIVIER M

RUN; 

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:13:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/488920#M72039</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-08-22T15:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using prompt to populate table with two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/488940#M72041</link>
      <description>&lt;P&gt;I am not sure how to have the prompt be a table essentially, allowing the user to input name and gender.&lt;/P&gt;&lt;P&gt;Is that something that is feasible?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:35:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/488940#M72041</guid>
      <dc:creator>camfarrell25</dc:creator>
      <dc:date>2018-08-22T15:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using prompt to populate table with two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/489007#M72053</link>
      <description>&lt;P&gt;Have you looked at SAS Screen Control Language examples?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 18:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/489007#M72053</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-08-22T18:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using prompt to populate table with two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/489015#M72055</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/81770"&gt;@camfarrell25&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am not sure how to have the prompt be a table essentially, allowing the user to input name and gender.&lt;/P&gt;
&lt;P&gt;Is that something that is feasible?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, register your table in the metadata server, then select Prompt Type as Text. Then for Method select User selects from static/dynamic list. If it's a dynamic list, you can add the source to be a table (if it's registered in the metadata server) or you can manually create your list in the prompt.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect we're dealing with an XY type problem here and if you could explain your requirements more we may be able to suggest different options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;XY problem:&amp;nbsp; &lt;A href="http://xyproblem.info/" target="_blank"&gt;http://xyproblem.info/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 19:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-prompt-to-populate-table-with-two-columns/m-p/489015#M72055</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-08-22T19:26:26Z</dc:date>
    </item>
  </channel>
</rss>

