<?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: Prevent %macro etls_createIndexes; in User Written Transformation (DI Studio) in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516454#M16031</link>
    <description>&lt;P&gt;As a short-term fix, you can add two lines to your session:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%macro etis_createindexes;&lt;/P&gt;
&lt;P&gt;%mend etis_createindexes;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This creates a temporary version of the macro that performs no work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, it also means the original version of the macro will no longer be available for the duration of the session.&amp;nbsp; So it's not a long-term cure.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2018 18:49:23 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-11-27T18:49:23Z</dc:date>
    <item>
      <title>Prevent %macro etls_createIndexes; in User Written Transformation (DI Studio)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516440#M16030</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im am working on simple User Written Transformation which calls Oracle stored procedures with some arguments. Some are INPUT and OUTPUT tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But...&lt;/P&gt;&lt;P&gt;SAS keeps generating&amp;nbsp;%macro etls_createIndexes; function and tried to call it based on metadata information for input and output tables in regards to indexes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need SAS to leave them alone. Instead, SAS tries to create index that already exist and fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I prevent this macro function to be autogenerated &amp;amp; called?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&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, 27 Nov 2018 18:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516440#M16030</guid>
      <dc:creator>strsljen</dc:creator>
      <dc:date>2018-11-27T18:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent %macro etls_createIndexes; in User Written Transformation (DI Studio)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516454#M16031</link>
      <description>&lt;P&gt;As a short-term fix, you can add two lines to your session:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%macro etis_createindexes;&lt;/P&gt;
&lt;P&gt;%mend etis_createindexes;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This creates a temporary version of the macro that performs no work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, it also means the original version of the macro will no longer be available for the duration of the session.&amp;nbsp; So it's not a long-term cure.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 18:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516454#M16031</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-11-27T18:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent %macro etls_createIndexes; in User Written Transformation (DI Studio)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516619#M16035</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for suggestion. I would rather not do so. It might bite me back when least expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, I found in Additional Options for transfotmation: Generate indexes on target tables and default is YES.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I set it to NO, I have no issues.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25222i65B1040A83898C5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas1.png" alt="sas1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would be happiest if default option for it can be set when building User Written Transformation. Didn't find it, though.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 11:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Prevent-macro-etls-createIndexes-in-User-Written-Transformation/m-p/516619#M16035</guid>
      <dc:creator>strsljen</dc:creator>
      <dc:date>2018-11-28T11:10:24Z</dc:date>
    </item>
  </channel>
</rss>

