<?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 Macro Question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/23911#M256116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%LEt Retail_30_B = .165;&lt;BR /&gt;%Let Retail_30_G = .165;&lt;BR /&gt;%Let Retail_30_B_DF = 1;&lt;BR /&gt;%Let Retail_30_G_DF = 1;&lt;/P&gt;&lt;P&gt;%LEt Retail_90_B = .165;&lt;BR /&gt;%Let Retail_90_G = .165;&lt;BR /&gt;%Let Retail_90_B_DF = 1;&lt;BR /&gt;%Let Retail_90_G_DF = 1;&lt;/P&gt;&lt;P&gt;%Let Mail_B = .25;&lt;BR /&gt;%Let Mail_G = .73;&lt;BR /&gt;%Let MAil_B_DF = 0;&lt;BR /&gt;%Let Mail_G_DF = 0;&lt;/P&gt;&lt;P&gt;%Let Specialty_Disc = .17;&lt;BR /&gt;%Let Specialty_DF = 0;&lt;/P&gt;&lt;P&gt;data final;&lt;BR /&gt;set Claims_Join;&lt;/P&gt;&lt;P&gt;MAC =&amp;nbsp; macunitcost_num * qty_disp;&lt;BR /&gt;format Ingrediant_Cost 15.5 Final_ING_Cost 15.5;&lt;/P&gt;&lt;P&gt;if retail90_30 = 'Retail 30'and Type = 'Brand' then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_30_B.));&lt;BR /&gt;else if retail90_30 = 'Retail 30' and type = 'Generic' and MAC = . then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_30_G.));&lt;BR /&gt;else if type = 'Generic' and MAC &amp;lt;&amp;gt; . then Ingrediant_Cost = MAC;&lt;BR /&gt;else if retail90_30 = 'Retail 90'and Type = 'Brand' then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_90_B.));&lt;BR /&gt;else if retail90_30 = 'Retail 90' and type = 'Generic' and MAC = . then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_90_G.));&lt;BR /&gt;else specialty_ind = 'Y' then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Specialty_Disc).);&lt;BR /&gt;Final_ING_Cost = min(U_and_C, Ingrediant_Costpe);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please help me why am I getting the error? Is there any issues in the macro? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 20:35:57 GMT</pubDate>
    <dc:creator>skallamp</dc:creator>
    <dc:date>2011-10-04T20:35:57Z</dc:date>
    <item>
      <title>Macro Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/23911#M256116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%LEt Retail_30_B = .165;&lt;BR /&gt;%Let Retail_30_G = .165;&lt;BR /&gt;%Let Retail_30_B_DF = 1;&lt;BR /&gt;%Let Retail_30_G_DF = 1;&lt;/P&gt;&lt;P&gt;%LEt Retail_90_B = .165;&lt;BR /&gt;%Let Retail_90_G = .165;&lt;BR /&gt;%Let Retail_90_B_DF = 1;&lt;BR /&gt;%Let Retail_90_G_DF = 1;&lt;/P&gt;&lt;P&gt;%Let Mail_B = .25;&lt;BR /&gt;%Let Mail_G = .73;&lt;BR /&gt;%Let MAil_B_DF = 0;&lt;BR /&gt;%Let Mail_G_DF = 0;&lt;/P&gt;&lt;P&gt;%Let Specialty_Disc = .17;&lt;BR /&gt;%Let Specialty_DF = 0;&lt;/P&gt;&lt;P&gt;data final;&lt;BR /&gt;set Claims_Join;&lt;/P&gt;&lt;P&gt;MAC =&amp;nbsp; macunitcost_num * qty_disp;&lt;BR /&gt;format Ingrediant_Cost 15.5 Final_ING_Cost 15.5;&lt;/P&gt;&lt;P&gt;if retail90_30 = 'Retail 30'and Type = 'Brand' then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_30_B.));&lt;BR /&gt;else if retail90_30 = 'Retail 30' and type = 'Generic' and MAC = . then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_30_G.));&lt;BR /&gt;else if type = 'Generic' and MAC &amp;lt;&amp;gt; . then Ingrediant_Cost = MAC;&lt;BR /&gt;else if retail90_30 = 'Retail 90'and Type = 'Brand' then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_90_B.));&lt;BR /&gt;else if retail90_30 = 'Retail 90' and type = 'Generic' and MAC = . then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Retail_90_G.));&lt;BR /&gt;else specialty_ind = 'Y' then Ingrediant_Cost = Pre_AWP*(1-(&amp;amp;Specialty_Disc).);&lt;BR /&gt;Final_ING_Cost = min(U_and_C, Ingrediant_Costpe);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please help me why am I getting the error? Is there any issues in the macro? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 20:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/23911#M256116</guid>
      <dc:creator>skallamp</dc:creator>
      <dc:date>2011-10-04T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Macro Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/23912#M256117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See discussion in Macro forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 13:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/23912#M256117</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-10-05T13:43:41Z</dc:date>
    </item>
  </channel>
</rss>

