<?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: Macro resolution in Enterprise Guide in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775440#M246491</link>
    <description>Can you post the full log? That error sometimes relates to the autogenerated code than your code.&lt;BR /&gt;&lt;BR /&gt;Something like this would probably be just as easy:&lt;BR /&gt;&lt;BR /&gt;%put OracLib.exco_fte_%sysfunc(today(), yymmn6.);&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Oct 2021 16:25:42 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-10-20T16:25:42Z</dc:date>
    <item>
      <title>Macro resolution in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775438#M246490</link>
      <description>&lt;P&gt;I want to dynamically import a filename depending on the month and year. For example, for October 2021 the filename I want to import is &lt;STRONG&gt;exco_fte_202110&lt;/STRONG&gt;. I have the following code, which works in SAS Studio. However, in Enterprise Guide, I get the note: "NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;%let sysmonth= %sysfunc(putn("&amp;amp;sysdate"d, MONTH2.));
%let sysyear= %sysfunc(putn("&amp;amp;sysdate"d, YEAR4.));

%put OracLib.exco_fte_&amp;amp;sysyear.&amp;amp;sysmonth.;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something minor is missing - what is it?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 16:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775438#M246490</guid>
      <dc:creator>NithinRamu</dc:creator>
      <dc:date>2021-10-20T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Macro resolution in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775440#M246491</link>
      <description>Can you post the full log? That error sometimes relates to the autogenerated code than your code.&lt;BR /&gt;&lt;BR /&gt;Something like this would probably be just as easy:&lt;BR /&gt;&lt;BR /&gt;%put OracLib.exco_fte_%sysfunc(today(), yymmn6.);&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2021 16:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775440#M246491</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-20T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro resolution in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775441#M246492</link>
      <description>SYSDATE is an automatic macro variable but it's when the session started.&lt;BR /&gt;If you're on a server, this may not return what you expect, so do you want to use the TODAY() function instead?&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/n08zfkx3lmiagpn11fctkfvfx1sg.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/n08zfkx3lmiagpn11fctkfvfx1sg.htm&lt;/A&gt;</description>
      <pubDate>Wed, 20 Oct 2021 16:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775441#M246492</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-20T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro resolution in Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775469#M246505</link>
      <description>&lt;P&gt;Check the quotes around your file name and any options in the step you actually export the data. Look for mismatched quotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or copy your log, open a text box on the forum with the &amp;lt;/&amp;gt; icon and paste the log showing the code and error message(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 18:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-resolution-in-Enterprise-Guide/m-p/775469#M246505</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-20T18:04:15Z</dc:date>
    </item>
  </channel>
</rss>

