<?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: Call symput in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504024#M134827</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Could you please help me understand what will be the value of the macro variable 'brn' from the following code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   data _null_ ;                                  
    call symput('brn'," and p2kbrn in ('1','2','3','4','5','6','8')") ;
   run ;                                                               
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The value of the second argument to CALL SYMPUT.&amp;nbsp; So the characters inside the double quotes.&lt;/P&gt;</description>
    <pubDate>Sat, 13 Oct 2018 16:25:44 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-10-13T16:25:44Z</dc:date>
    <item>
      <title>Call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504011#M134817</link>
      <description>&lt;P&gt;Could you please help me understand what will be the value of the macro variable 'brn' from the following code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   data _null_ ;                                  
    call symput('brn'," and p2kbrn in ('1','2','3','4','5','6','8')") ;
   run ;                                                               
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Oct 2018 15:36:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504011#M134817</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-10-13T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504016#M134821</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Could you please help me understand what will be the value of the macro variable 'brn' from the following code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   data _null_ ;                                  
    call symput('brn'," and p2kbrn in ('1','2','3','4','5','6','8')") ;
   run ;                                                               
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is glaringly obvious, if you're not too lazy to take a few minutes to read the documentation.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 15:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504016#M134821</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-13T15:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504019#M134823</link>
      <description>&lt;P&gt;You just need a %PUT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;117  data _null_ ;
118     call symput('brn'," and p2kbrn in ('1','2','3','4','5','6','8')") ;
119     run;

NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds


120  %put NOTE: &amp;amp;=brn;
NOTE: BRN= and p2kbrn in ('1','2','3','4','5','6','8')
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Oct 2018 15:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504019#M134823</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2018-10-13T15:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504024#M134827</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Could you please help me understand what will be the value of the macro variable 'brn' from the following code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   data _null_ ;                                  
    call symput('brn'," and p2kbrn in ('1','2','3','4','5','6','8')") ;
   run ;                                                               
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The value of the second argument to CALL SYMPUT.&amp;nbsp; So the characters inside the double quotes.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Oct 2018 16:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504024#M134827</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-10-13T16:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504364#M134956</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Could you please help me understand what will be the value of the macro variable 'brn' from the following code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   data _null_ ;                                  
    call symput('brn'," and p2kbrn in ('1','2','3','4','5','6','8')") ;
   run ;                                                               
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Large economy sized hint: NO data set for variables =&amp;gt; no other variables available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warning: &amp;amp;brn is likely to cause issues if passed as a macro parameter elsewhere.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 15:40:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Call-symput/m-p/504364#M134956</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-15T15:40:29Z</dc:date>
    </item>
  </channel>
</rss>

