<?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: ERROR: Macro keyword LET appears as text. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212524#M39262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there was an issue with the earlier statement where I missed the semicolon. &lt;/P&gt;&lt;P&gt;Thanks a lot Kurt, SAS Kiwi, Tom, Reeza for such valuable inputs &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 01:47:23 GMT</pubDate>
    <dc:creator>yashpande</dc:creator>
    <dc:date>2015-05-11T01:47:23Z</dc:date>
    <item>
      <title>ERROR: Macro keyword LET appears as text.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212519#M39257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing error as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Macro keyword LET appears as text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code i have is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let folder=/gpfs1/SP_Output/Lev1/users/l058017/search_engine_logs/;&lt;/P&gt;&lt;P&gt;%let sub2_l=sitename;&lt;/P&gt;&lt;P&gt;%let attch2="&amp;amp;folder.attach_brdm/attach_brdm_&amp;amp;sub2_l..zip" "&amp;amp;folder.attach_crce/attach_crce_&amp;amp;sub2_l..zip" "&amp;amp;folder.attach_crce/attach_ecps_&amp;amp;sub2_l..zip";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using this macro attch2 to send zipped files in email. This code works in base SAS and EG , However when I try to run this in batch it gives error as Macro Keyword LET appears as text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want attch2 to be resolved as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 13.3333330154419px;"&gt;/gpfs1/SP_Output/Lev1/users/l058017/search_engine_logs/attach_brdm_sitename.zip" "&lt;SPAN style="font-size: 13.3333330154419px;"&gt;/gpfs1/SP_Output/Lev1/users/l058017/search_engine_logs/attach_crce_sitename.zip" "&lt;SPAN style="font-size: 13.3333330154419px;"&gt;/gpfs1/SP_Output/Lev1/users/l058017/search_engine_logs/attach_ecps_sitename.zip" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where I am commiting the mistake ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need suggestion please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2015 05:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212519#M39257</guid>
      <dc:creator>yashpande</dc:creator>
      <dc:date>2015-05-10T05:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Macro keyword LET appears as text.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212520#M39258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post the section of the log where the ERROR message appears, so one can see the context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2015 09:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212520#M39258</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-10T09:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Macro keyword LET appears as text.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212521#M39259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If attch2 ends up being longer than 256 characters that may be the issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2015 19:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212521#M39259</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-05-10T19:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Macro keyword LET appears as text.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212522#M39260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried running your code and it works fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if your error is caused by code before your %LET statements. Please provide this so we can offer further advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2015 20:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212522#M39260</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-05-10T20:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Macro keyword LET appears as text.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212523#M39261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works fine for me too. You have one more attach_brdm in the result from the code than in your desired result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2015 22:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212523#M39261</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2015-05-10T22:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Macro keyword LET appears as text.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212524#M39262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there was an issue with the earlier statement where I missed the semicolon. &lt;/P&gt;&lt;P&gt;Thanks a lot Kurt, SAS Kiwi, Tom, Reeza for such valuable inputs &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 01:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Macro-keyword-LET-appears-as-text/m-p/212524#M39262</guid>
      <dc:creator>yashpande</dc:creator>
      <dc:date>2015-05-11T01:47:23Z</dc:date>
    </item>
  </channel>
</rss>

