<?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: Trouble with call symput in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149398#M29528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chuakp,&lt;/P&gt;&lt;P&gt;If you look in my log, my code produced three local macro variables. If you need the macro variables to be global, then simply add a statement to define them as such "%global Macrovariable&amp;amp;i." immediately after the do i=1 to 3 statement.&amp;nbsp; It worked for me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2014 19:00:06 GMT</pubDate>
    <dc:creator>jwillis</dc:creator>
    <dc:date>2014-05-07T19:00:06Z</dc:date>
    <item>
      <title>Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149393#M29523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dataset that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DXCODE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMBER&lt;/P&gt;&lt;P&gt;78060&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;7784&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;09989&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create 3 global macro variables called "macrovariable1", "macrovariable2", and "macrovariable3", which have the DXCODE values "78060", "7784", and "09989", respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro macrovariables;&lt;/P&gt;&lt;P&gt;%do i=1 %to 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set codes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where number = &amp;amp;i;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('macrovariable' || trim(left(&amp;amp;i)), '"' || trim(left(dxcode)) || '"');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend macrovariables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this macro to replicate the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_; &lt;/P&gt;&lt;P&gt;set codes;&lt;/P&gt;&lt;P&gt;where number = 1;&lt;/P&gt;&lt;P&gt;call symput('macrovariable1', "78060"); &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_; &lt;/P&gt;&lt;P&gt;set codes;&lt;/P&gt;&lt;P&gt;where number = 1;&lt;/P&gt;&lt;P&gt;call symput('macrovariable1', "78060"); &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_; &lt;/P&gt;&lt;P&gt;set codes;&lt;/P&gt;&lt;P&gt;where number = 2;&lt;/P&gt;&lt;P&gt;call symput('macrovariable2', "7784"); &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_; &lt;/P&gt;&lt;P&gt;set codes;&lt;/P&gt;&lt;P&gt;where number = 3;&lt;/P&gt;&lt;P&gt;call symput('macrovariable3', "09989"); &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, this code does not generate the global macro variables that I want.&amp;nbsp; What am I doing wrong?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 17:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149393#M29523</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2014-05-07T17:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149394#M29524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like your problem lies in the first argument to CALL SYMPUT.&amp;nbsp; Part of that would look like this on the third iteration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trim(left(3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would expect the DATA step to complain that it can't apply the LEFT function to the number 3, it can only apply it to a character string.&amp;nbsp; Try a simpler version for the first argument that uses double quotes instead of single:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call symput("macrovariable&amp;amp;i", ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should take care of the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:09:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149394#M29524</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-05-07T18:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149395#M29525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion.&amp;nbsp; I changed the code to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call symput("macrovariable&amp;amp;i", '"' || trim(left(dxcode)) || '"');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still not getting this to work despite the change, unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:20:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149395#M29525</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2014-05-07T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149396#M29526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Chuakp,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;%macro macrovariables;&lt;/P&gt;&lt;P&gt;%do i=1 %to 3;&lt;BR /&gt;%let mv = macrovariable;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set codes;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where number = &amp;amp;i.;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput("macrovariable&amp;amp;i.",trim(left(dxcode)));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;%end;&lt;/P&gt;&lt;P&gt;%mend macrovariables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;180&amp;nbsp; %macro macrovariables;&lt;BR /&gt;181&lt;BR /&gt;182&amp;nbsp; %do i=1 %to 3;&lt;BR /&gt;183&amp;nbsp; %let mv = macrovariable;&lt;BR /&gt;184&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;BR /&gt;185&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set codes;&lt;BR /&gt;186&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where number = &amp;amp;i.;&lt;BR /&gt;187&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput("macrovariable&amp;amp;i.",trim(left(dxcode)));&lt;BR /&gt;188&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;189&amp;nbsp; %put "macrovariable&amp;amp;i. = &amp;amp;&amp;amp;&amp;amp;mv.&amp;amp;i.";&lt;BR /&gt;190&amp;nbsp; %end;&lt;BR /&gt;191&lt;BR /&gt;192&amp;nbsp; %mend macrovariables;&lt;BR /&gt;193&lt;BR /&gt;194&amp;nbsp; %macrovariables;&lt;/P&gt;&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.CODES.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE number=1;&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"macrovariable1 = 78060"&lt;/P&gt;&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.CODES.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE number=2;&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"macrovariable2 = 7784"&lt;/P&gt;&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.CODES.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE number=3;&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"macrovariable3 = 09989"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149396#M29526</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-05-07T18:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149397#M29527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks jwillis - unfortunately, that code does not quite get me where I need to be.&amp;nbsp; I am able to get the same SAS log output as you pasted above, but this code does not result in the creation of three global macro variables (macrovariable1-macrovariable3).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 18:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149397#M29527</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2014-05-07T18:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149398#M29528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chuakp,&lt;/P&gt;&lt;P&gt;If you look in my log, my code produced three local macro variables. If you need the macro variables to be global, then simply add a statement to define them as such "%global Macrovariable&amp;amp;i." immediately after the do i=1 to 3 statement.&amp;nbsp; It worked for me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 19:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149398#M29528</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-05-07T19:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149399#M29529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! This worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 19:30:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149399#M29529</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2014-05-07T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149400#M29530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using your code, I've been able to set global macro variables (where macrovariable1 = 78060, macrovariable2 = 7784, etc.).&amp;nbsp; I'm trying to figure out the right way to reference these macro variables in a %do loop.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro admissiondx;&lt;/P&gt;&lt;P&gt;%do j=1 %to 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data codes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if admit_dx = "&amp;amp;macrovariable&amp;amp;j." then flag = 1;&amp;nbsp;&amp;nbsp; /*I want this to read: if admit_dx = "78060" then flag = 1;*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if flag &amp;gt; 0 then output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop flag;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend admissiondx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the above code, I get a warning from SAS: "WARNING: Apparent invocation of macro MACROVARIABLE1 not resolved."&amp;nbsp; I feel like there's some small change in syntax that I need to make but can't figure it out.&amp;nbsp; Do you have any ideas?&amp;nbsp; Thanks in advance - you've been really helpful and I appreciate it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 00:28:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149400#M29530</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2014-05-08T00:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149401#M29531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chuakp,&lt;/P&gt;&lt;P&gt;1. Add this anywhere in your code before #2.&lt;/P&gt;&lt;P&gt;%let mv = macrovariable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Change this: if admit_dx = "&amp;amp;macrovariable&amp;amp;j."&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to this:&amp;nbsp;&amp;nbsp;&amp;nbsp; if admit_dx = "&amp;amp;&amp;amp;&amp;amp;mv.&amp;amp;j."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Test #2 with this anywhere after #2.&lt;/P&gt;&lt;P&gt;%put "macrovariable&amp;amp;j. = &amp;amp;&amp;amp;&amp;amp;mv.&amp;amp;j."; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 11:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149401#M29531</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-05-08T11:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149402#M29532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need the macro loop and WHERE to create a macro variable from each observation of DXCODE data.&amp;nbsp; Also use SYMPUTX to make the variable global if that's what you need.&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dx;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; DXCODE $&amp;nbsp; NUMBER;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;cards&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;78060&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;7784&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;BR /&gt;09989&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;;;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;_null_&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; dx;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;call&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; symputX(cats(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'macrovar'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;,number),dxcode,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'GLOBAL'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; _global_;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 12:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149402#M29532</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-05-08T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149403#M29533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 14:01:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149403#M29533</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2014-05-08T14:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with call symput</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149404#M29534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like it would be better to make a format than a series of macro variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 16:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-call-symput/m-p/149404#M29534</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-05-08T16:26:51Z</dc:date>
    </item>
  </channel>
</rss>

