<?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 in SAP HANA in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753617#M237557</link>
    <description>&lt;P&gt;Is there a way to pass a macro variable into SAP HANA?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally you use double quotes around a marco in proc sql to resolve but double quotes define a column name in SAP HANA therefore it will not resolve correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is&amp;nbsp; snip of the code. if i put double quotes around it than it read as a column name.&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;E&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#08726d"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"0UCOPERAND"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;="&amp;amp;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#08726d"&gt;OP_TYPE."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;i have tried it without double quotes and it stll doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 21:02:31 GMT</pubDate>
    <dc:creator>bibbnd</dc:creator>
    <dc:date>2021-07-12T21:02:31Z</dc:date>
    <item>
      <title>MACRO in SAP HANA</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753617#M237557</link>
      <description>&lt;P&gt;Is there a way to pass a macro variable into SAP HANA?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally you use double quotes around a marco in proc sql to resolve but double quotes define a column name in SAP HANA therefore it will not resolve correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is&amp;nbsp; snip of the code. if i put double quotes around it than it read as a column name.&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;E&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#08726d"&gt;.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"0UCOPERAND"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;="&amp;amp;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#08726d"&gt;OP_TYPE."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;i have tried it without double quotes and it stll doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 21:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753617#M237557</guid>
      <dc:creator>bibbnd</dc:creator>
      <dc:date>2021-07-12T21:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO in SAP HANA</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753619#M237558</link>
      <description>&lt;P&gt;What does "doesn't work" mean? If SAP HANA insists on only accepting single quotes then try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;E."0UCOPERAND"=%str(%')&amp;amp;OP_TYPE.%str(%')&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jul 2021 21:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753619#M237558</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-07-12T21:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO in SAP HANA</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753636#M237565</link>
      <description>I GET AN ERROR MESSAGE&lt;BR /&gt;ERROR: CLI prepare error: [SAP AG][LIBODBCHDB SO][HDBODBC] General error;260 invalid column name: TOUDEF: line 1 col 281 (at pos&lt;BR /&gt;280)&lt;BR /&gt;IT READS THE MARCO AS A COLUMN NAME</description>
      <pubDate>Mon, 12 Jul 2021 23:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MACRO-in-SAP-HANA/m-p/753636#M237565</guid>
      <dc:creator>bibbnd</dc:creator>
      <dc:date>2021-07-12T23:23:37Z</dc:date>
    </item>
  </channel>
</rss>

