<?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: how to solve macro and how many put ampersands should I keep in macro variable for get the value in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664469#M198509</link>
    <description>&lt;P&gt;If you are attempting to do some sort of look up from one value to another perhaps a format is the way to accomplish this. If this data does not change often then you may find this easier that something attempting to use that many indirect macro references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format;
Value $capital
"GERMANY"="Berlin"
"FRANCE" ="Paris";
run;


%let country=germany;
%let capital = %sysfunc(putc(%upcase(&amp;amp;country.),$capital.));
%put capital is &amp;amp;capital.;&lt;/PRE&gt;
&lt;P&gt;One of the things that makes formats powerful is a single place to change things. If a new country gets added modify the code (or the data set that could generate the format) and execute the proc format code. If the format is placed in a permanent library and the format search path then the current format is always available.&lt;/P&gt;
&lt;PRE&gt;proc format;
Value $capital
"GERMANY"="Berlin"
"FRANCE" ="Paris"
"NEWPLACE" = "Some City";
;
run;


%let country=newplace;
%let capital = %sysfunc(putc(%upcase(&amp;amp;country.),$capital.));
%put capital is &amp;amp;capital.;&lt;/PRE&gt;
&lt;P&gt;for example to add to the format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The %UPCASE in the PUTC is used because the value comparison done by Proc Format values is case sensitive by default and use of %upcase will result in one value to search for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I strongly suspect the whole approach is poor at best, hence the origin of the question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've only been programming in SAS off and on for 33 years. I have used an indirect reference macro variable with &amp;amp;&amp;amp;&amp;amp; maybe 4 times. And after reconsidering it usually indicated I should use a different approach to creating the values needed.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2020 20:05:57 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-06-23T20:05:57Z</dc:date>
    <item>
      <title>how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664253#M198407</link>
      <description>&lt;P&gt;%let i=1 ;&lt;/P&gt;
&lt;P&gt;%let or1=europe ;&lt;/P&gt;
&lt;P&gt;%let europe1=germany ;&lt;/P&gt;
&lt;P&gt;%let europe_germany1=berlin ;&lt;/P&gt;
&lt;P&gt;%let europe_germany_berlin1=capital ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*first*/&lt;/P&gt;
&lt;P&gt;%put &amp;amp;&amp;amp;or&amp;amp;i ;&amp;nbsp; &amp;nbsp;/*europe*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*second*/&lt;/P&gt;
&lt;P&gt;%put &amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i..&amp;amp;i ; /*germany */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*third*/&lt;/P&gt;
&lt;P&gt;%put&amp;nbsp; &amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i..&amp;amp;i..&amp;amp;i ; /*berlin*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*fourth*/&lt;/P&gt;
&lt;P&gt;%put &amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i..&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i..&amp;amp;i ; /*not coming*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I run above 4 steps 3 steps coming correctly and fourth one not resolving .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many ampersands should I keep to&amp;nbsp; get value 'capacity' .&lt;/P&gt;
&lt;P&gt;And one more question how to count to keep particular ampersands for fourth step .&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 12:13:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664253#M198407</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2020-06-23T12:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664269#M198411</link>
      <description>&lt;P&gt;I suggest the statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp; OPTIONS SYMBOLGEN&lt;/P&gt;
&lt;P&gt;to get a report on how the macro processor is parsing your macro expressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then track step-by-step how it's being interpreted.&amp;nbsp; Remember that the macro parses the expression iteratively.&amp;nbsp; I.e. a each (disjoint) &amp;amp;&amp;amp; becomes &amp;amp; from left to right. &amp;nbsp; Then the process starts again at the left end of the expression.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 13:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664269#M198411</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-06-23T13:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664270#M198412</link>
      <description>thank you and who to get capital value please give code&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jun 2020 13:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664270#M198412</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2020-06-23T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664278#M198417</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209685"&gt;@thanikondharish&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To simplify the code for everyone (You &amp;amp; others looking at your code), I would do it this way&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let i=1 ;
%let or1=europe ;
%let europe1=germany ;
%let europe_germany1=berlin ;
%let europe_germany_berlin1=capital ;

%let continent =%superq(or&amp;amp;i);
%let country=%superq(%str(&amp;amp;&amp;amp;or&amp;amp;i)&amp;amp;i);
%let city=%superq(%upcase(&amp;amp;continent%str(_)&amp;amp;country&amp;amp;i));
%let city_type=%superq(%upcase(&amp;amp;continent%str(_)&amp;amp;country%str(_)&amp;amp;city&amp;amp;i));
%put &amp;amp;continent &amp;amp;country &amp;amp;city &amp;amp;city_type;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 13:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664278#M198417</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-06-23T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664279#M198418</link>
      <description>thank you and can we do like see my coding fourth step almost 3 steps came&lt;BR /&gt;and fourth one how to get value 'capital'&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jun 2020 13:37:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664279#M198418</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2020-06-23T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664284#M198419</link>
      <description>I see your original code, and honestly, If I inherited your code, I would re-write it, as it's not maintainable, and I would not attach my name to code that looks like that.&lt;BR /&gt;&lt;BR /&gt;Sorry for being bluntly honest.&lt;BR /&gt;Ahmed</description>
      <pubDate>Tue, 23 Jun 2020 13:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664284#M198419</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-06-23T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664299#M198429</link>
      <description>&lt;P&gt;&lt;A href="https://www.amazon.com/Doctor-hurts-when-Jokes-Cartoons/dp/150043230X" target="_blank"&gt;https://www.amazon.com/Doctor-hurts-when-Jokes-Cartoons/dp/150043230X&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not worth it to figure that out.&amp;nbsp; Build the name in pieces using multiple macro variables and multiple %LET statements.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or better still don't store data in macro variables.&amp;nbsp; Explain what problem you are trying to solve by storing data into macro variables with numeric suffixes on the end of the macro variable names.&amp;nbsp; I am sure there is a way to solve the problem that does not need to use such a complex storage system.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664299#M198429</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-06-23T14:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664301#M198430</link>
      <description>I need value capital without using macro variable europe_germany_berlin1</description>
      <pubDate>Tue, 23 Jun 2020 14:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664301#M198430</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2020-06-23T14:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664307#M198434</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209685"&gt;@thanikondharish&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I need value capital without using macro variable europe_germany_berlin1&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So where is the value CAPITAL stored? In your example is was in the macro variable EUROPE_GERMANY_BERLIN1.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let europe_germany_berlin1=capital ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do you have it stored somewhere else?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664307#M198434</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-06-23T14:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664455#M198502</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;knowing the result, I used a brute force method to find exactly what you were looking for.&lt;/P&gt;
&lt;P&gt;If you want undebugable crappy code that almost looks like a reverse&amp;nbsp;encrypted md5 checksum try this &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;:&lt;/P&gt;
&lt;PRE&gt;%put &amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i..&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i.._&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;or&amp;amp;i..&amp;amp;i..&amp;amp;i..&amp;amp;i.; /*capital*/&lt;/PRE&gt;
&lt;P&gt;More seriously, take a look at &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13868"&gt;@AhmedAl_Attar&lt;/a&gt;&amp;nbsp;'s clean little piece of code&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 19:39:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664455#M198502</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2020-06-23T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664469#M198509</link>
      <description>&lt;P&gt;If you are attempting to do some sort of look up from one value to another perhaps a format is the way to accomplish this. If this data does not change often then you may find this easier that something attempting to use that many indirect macro references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format;
Value $capital
"GERMANY"="Berlin"
"FRANCE" ="Paris";
run;


%let country=germany;
%let capital = %sysfunc(putc(%upcase(&amp;amp;country.),$capital.));
%put capital is &amp;amp;capital.;&lt;/PRE&gt;
&lt;P&gt;One of the things that makes formats powerful is a single place to change things. If a new country gets added modify the code (or the data set that could generate the format) and execute the proc format code. If the format is placed in a permanent library and the format search path then the current format is always available.&lt;/P&gt;
&lt;PRE&gt;proc format;
Value $capital
"GERMANY"="Berlin"
"FRANCE" ="Paris"
"NEWPLACE" = "Some City";
;
run;


%let country=newplace;
%let capital = %sysfunc(putc(%upcase(&amp;amp;country.),$capital.));
%put capital is &amp;amp;capital.;&lt;/PRE&gt;
&lt;P&gt;for example to add to the format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The %UPCASE in the PUTC is used because the value comparison done by Proc Format values is case sensitive by default and use of %upcase will result in one value to search for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I strongly suspect the whole approach is poor at best, hence the origin of the question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've only been programming in SAS off and on for 33 years. I have used an indirect reference macro variable with &amp;amp;&amp;amp;&amp;amp; maybe 4 times. And after reconsidering it usually indicated I should use a different approach to creating the values needed.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 20:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664469#M198509</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-06-23T20:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664563#M198567</link>
      <description>thank you it working I have tried with 22 and 24 ampersands in your code&lt;BR /&gt;almost&lt;BR /&gt;around 64  ampersands how did you keep this much of ampersands ,How did you&lt;BR /&gt;calculate .&lt;BR /&gt;symbelgen is just how resolving the macro variable</description>
      <pubDate>Wed, 24 Jun 2020 06:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664563#M198567</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2020-06-24T06:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664580#M198579</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;"brute force" means I tried adding ampersands until I get the result.&lt;/P&gt;
&lt;P&gt;I redirected the output to an external log file (&amp;gt;400MB) and searched the syntax issuying 'capital' in the output &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Re-think your code if you ever need more than 2 consecutives&amp;nbsp;ampersands&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 08:23:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664580#M198579</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2020-06-24T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664581#M198580</link>
      <description>Thank you</description>
      <pubDate>Wed, 24 Jun 2020 08:26:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664581#M198580</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2020-06-24T08:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve macro and how many put ampersands should I keep in macro variable for get the value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664589#M198584</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;it working I have tried with 22 and 24 ampersands in your code&amp;nbsp;almost&amp;nbsp;around 64 ampersands how did you keep this much of ampersands&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you wrote code like this you'd be fired. It's impossible to read.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorChrisNZ_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="images.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46565iF731E40E1EEA2363/image-size/medium?v=v2&amp;amp;px=400" role="button" title="images.png" alt="images.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;DIV id="tinyMceEditorChrisNZ_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 09:09:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-solve-macro-and-how-many-put-ampersands-should-I-keep-in/m-p/664589#M198584</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-06-24T09:09:57Z</dc:date>
    </item>
  </channel>
</rss>

