<?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: Apparent invocation of macro xxx not resolved in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492200#M129310</link>
    <description>&lt;P&gt;Review your process and get rid of the non-standard names. Your post is just another illustration why name literals are a&lt;FONT size="4"&gt; &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;VERY&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt; BAD IDEA&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 06:23:16 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-09-04T06:23:16Z</dc:date>
    <item>
      <title>Apparent invocation of macro xxx not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492187#M129301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a table which a column name 'Ev_%_Sat_Sch' in SAS DI and I get the&amp;nbsp;warning : 'apparent invocation of&amp;nbsp; macro xxxx not resolved' .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This column name is in an existing SAS EG code and I am trying to put that in SAS DI without any changes to the table structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I could just use the existing DI objects (e.g. extract, Join) without having to manipulate the existing generated code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the 'Physical Storage' tab for the DI objects, I have selected both 'Enable case-sensitive DBMS object names' and 'Enable special characters within table or column object names'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 05:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492187#M129301</guid>
      <dc:creator>antenga</dc:creator>
      <dc:date>2018-09-04T05:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent invocation of macro xxx not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492189#M129302</link>
      <description>&lt;P&gt;If the column name was single quoted as your question shows, there would be no warning.&lt;/P&gt;
&lt;P&gt;Unless the single quotes shown are themselves in a longer, double quoted string?&lt;/P&gt;
&lt;P&gt;In any case, single quote you column name to make the warning disappear.&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>Tue, 04 Sep 2018 05:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492189#M129302</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-04T05:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent invocation of macro xxx not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492196#M129307</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The generated code has a double quote around the column name :- "xx_%_xx"n. I had changed the double quote to single quote to make it work :- 'xx_%_xx'n.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was hoping for another way instead of changing the generated code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 06:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492196#M129307</guid>
      <dc:creator>antenga</dc:creator>
      <dc:date>2018-09-04T06:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent invocation of macro xxx not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492198#M129308</link>
      <description>&lt;P&gt;It's a bit silly of sas to double quote for no reason by default, though I suppose they did not expect a variable containing a % sign.&lt;/P&gt;
&lt;P&gt;Since it already has a nasty name, can you replace the underscore after the % with a space? That would remove the warning too.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 06:12:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492198#M129308</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-04T06:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent invocation of macro xxx not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492200#M129310</link>
      <description>&lt;P&gt;Review your process and get rid of the non-standard names. Your post is just another illustration why name literals are a&lt;FONT size="4"&gt; &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;VERY&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt; BAD IDEA&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 06:23:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492200#M129310</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-04T06:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent invocation of macro xxx not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492201#M129311</link>
      <description>&lt;P&gt;I guess they DID expect macro calls in variable names, and that's why they use double quotes. So either have Scylla (non-resolvable macro triggers) or Charybdis (loss of macro functionality).&lt;/P&gt;
&lt;P&gt;Using only standard SAS names would of course completely remove this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 06:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Apparent-invocation-of-macro-xxx-not-resolved/m-p/492201#M129311</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-04T06:27:31Z</dc:date>
    </item>
  </channel>
</rss>

