<?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 Enter Variable and save in table in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/759712#M30268</link>
    <description>&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Hello, good morning everyone, I have a query. I would like to do the following: when running a process the user has to enter a variable or parameter (numeric) that SAS requests, and this is saved in a table with a single record.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like That&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andres_Fuentes1_1-1628174324637.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62305i8C76013A178306F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andres_Fuentes1_1-1628174324637.png" alt="Andres_Fuentes1_1-1628174324637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Results&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andres_Fuentes1_2-1628174351072.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62306iD7378A432F30C25F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andres_Fuentes1_2-1628174351072.png" alt="Andres_Fuentes1_2-1628174351072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 14:39:24 GMT</pubDate>
    <dc:creator>Andres_Fuentes1</dc:creator>
    <dc:date>2021-08-05T14:39:24Z</dc:date>
    <item>
      <title>Enter Variable and save in table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/759712#M30268</link>
      <description>&lt;P&gt;&lt;SPAN class="Y2IQFc"&gt;Hello, good morning everyone, I have a query. I would like to do the following: when running a process the user has to enter a variable or parameter (numeric) that SAS requests, and this is saved in a table with a single record.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like That&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andres_Fuentes1_1-1628174324637.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62305i8C76013A178306F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andres_Fuentes1_1-1628174324637.png" alt="Andres_Fuentes1_1-1628174324637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Results&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andres_Fuentes1_2-1628174351072.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62306iD7378A432F30C25F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andres_Fuentes1_2-1628174351072.png" alt="Andres_Fuentes1_2-1628174351072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 14:39:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/759712#M30268</guid>
      <dc:creator>Andres_Fuentes1</dc:creator>
      <dc:date>2021-08-05T14:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enter Variable and save in table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/759728#M30269</link>
      <description>&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/115-2007.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/115-2007.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Follow the instructions in the linked tutorials.</description>
      <pubDate>Thu, 05 Aug 2021 15:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/759728#M30269</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-08-05T15:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Enter Variable and save in table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/760315#M30287</link>
      <description>&lt;P&gt;A parameter is a macro-variable, all macro-variables are also stored in sashelp.vmacro, so if your parameters all start with a common prefix you can do:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.Parameter;
   set sashelp.vmacro;
   where Name =: 'PAR_';

   keep name value;
run;

proc transpose data=work.Parameter out=work.want(drop= _name_ _label_);
   var value;
   id name;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If your parameter don't have a common prefix, adjust the where-statement&amp;nbsp; to your needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: proc transpose got lost during copy/paste.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 06:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Enter-Variable-and-save-in-table/m-p/760315#M30287</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-08-09T06:17:29Z</dc:date>
    </item>
  </channel>
</rss>

