<?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 Error when using &amp;amp;md in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/529289#M144580</link>
    <description>&lt;P&gt;I am getting an error when I use &amp;amp;md as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have2; set have1;
	mdCO = &amp;amp;md;
	do mdValid = mdCO to mdCO + &amp;amp;rankBack - 1;
		output;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My date variable is already formatted in date9., but I am still getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;202  data have2; set have1;
203      mdCO = &amp;amp;md;
                -
                22
WARNING: Apparent symbolic reference MD not resolved.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
              a datetime constant, a missing value, INPUT, PUT.

204      do mdValid = mdCO to mdCO + &amp;amp;rankBack - 1;
205          output;
206      end;
207  run;

NOTE: The SAS System stopped processing this step because of errors.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any suggestions will be greatly appreciated!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 22:18:14 GMT</pubDate>
    <dc:creator>Yegen</dc:creator>
    <dc:date>2019-01-22T22:18:14Z</dc:date>
    <item>
      <title>Error when using &amp;md</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/529289#M144580</link>
      <description>&lt;P&gt;I am getting an error when I use &amp;amp;md as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have2; set have1;
	mdCO = &amp;amp;md;
	do mdValid = mdCO to mdCO + &amp;amp;rankBack - 1;
		output;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My date variable is already formatted in date9., but I am still getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;202  data have2; set have1;
203      mdCO = &amp;amp;md;
                -
                22
WARNING: Apparent symbolic reference MD not resolved.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant,
              a datetime constant, a missing value, INPUT, PUT.

204      do mdValid = mdCO to mdCO + &amp;amp;rankBack - 1;
205          output;
206      end;
207  run;

NOTE: The SAS System stopped processing this step because of errors.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any suggestions will be greatly appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 22:18:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/529289#M144580</guid>
      <dc:creator>Yegen</dc:creator>
      <dc:date>2019-01-22T22:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using &amp;md</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/529292#M144583</link>
      <description>&lt;P&gt;You use macro variable md, but have never created it.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 22:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/529292#M144583</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-22T22:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using &amp;md</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/530344#M145004</link>
      <description>&lt;P&gt;I thought that it was defined, but you are right that somehow that part of the code was never included in my new code. Thanks,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 18:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-using-amp-md/m-p/530344#M145004</guid>
      <dc:creator>Yegen</dc:creator>
      <dc:date>2019-01-26T18:40:12Z</dc:date>
    </item>
  </channel>
</rss>

