<?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: SET BULKLOAD OPTIONS (POSTGRES ENGINE) TO SCD2 TRANSFORMATION IN DIS in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841583#M6200</link>
    <description>&lt;P&gt;Unsure if you can do this using standard options in the transformation.&lt;/P&gt;
&lt;P&gt;But I am wondering if you have a good use case here.&lt;/P&gt;
&lt;P&gt;S in SCD stands for Slowly, so you shouldn't have millions of records that needs closing out.&lt;/P&gt;
&lt;P&gt;If not done so already, you could try the SQL Pass through option, it might speed up the process depending on the performance of your RDBMS.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2022 08:06:05 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-10-31T08:06:05Z</dc:date>
    <item>
      <title>SET BULKLOAD OPTIONS (POSTGRES ENGINE) TO SCD2 TRANSFORMATION IN DIS</title>
      <link>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841544#M6199</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I set BULK LOAD option as active, SCD2 transformation create the following code (for ETLS_CLOSE as example):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;      proc append base = EXT_VI."W6B3BTSM"n
         (
            BULKLOAD=YES
         )
         data = work."ETLS_CLOSE"n force; 
      run;&lt;/PRE&gt;&lt;P&gt;But this code doesn't work. I need to set "bl_psql_path='/PATH' " and "bl_delete_datafile=no" dataset option to BULKLOAD works properly.&lt;/P&gt;&lt;P&gt;I aware that I can change the automatic generated code to add these options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to configure these options at the transformation level? Or a way that I can add these options without change the code manually?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 19:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841544#M6199</guid>
      <dc:creator>Egrodrigues2014</dc:creator>
      <dc:date>2022-10-30T19:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: SET BULKLOAD OPTIONS (POSTGRES ENGINE) TO SCD2 TRANSFORMATION IN DIS</title>
      <link>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841583#M6200</link>
      <description>&lt;P&gt;Unsure if you can do this using standard options in the transformation.&lt;/P&gt;
&lt;P&gt;But I am wondering if you have a good use case here.&lt;/P&gt;
&lt;P&gt;S in SCD stands for Slowly, so you shouldn't have millions of records that needs closing out.&lt;/P&gt;
&lt;P&gt;If not done so already, you could try the SQL Pass through option, it might speed up the process depending on the performance of your RDBMS.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 08:06:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841583#M6200</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-10-31T08:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: SET BULKLOAD OPTIONS (POSTGRES ENGINE) TO SCD2 TRANSFORMATION IN DIS</title>
      <link>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841904#M6204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to load the historical records and this data volume will be only in the first iteration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, we change the option "Upload library before targe table update" to EXT_VI library. But the "etls" tables still in work library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/* Delete the work tables  */ 
      proc datasets lib=EXT_VI nolist nowarn memtype = (data view);
         delete "W6B3TJ5F"n;
         delete "W6B3TIUB"n;
         delete "W6B3TIOR"n;
      quit;   
     
         proc datasets lib=work nolist nowarn memtype = (data view);
            delete etls_newrcds;
            delete etls_match;
            delete etls_close;
         quit;&lt;/PRE&gt;&lt;P&gt;To load data from work to postgres tables, we need to set bulkload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way so that these tables are also generated in the "EXT_VI"&amp;nbsp;(postgres) library ? Thus, passthrough can be performed without the need for BULKLOAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We set "Libref to copy temporary work tables to" SCD option to EXT_VI, but it does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 16:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SET-BULKLOAD-OPTIONS-POSTGRES-ENGINE-TO-SCD2-TRANSFORMATION-IN/m-p/841904#M6204</guid>
      <dc:creator>Egrodrigues2014</dc:creator>
      <dc:date>2022-11-01T16:31:09Z</dc:date>
    </item>
  </channel>
</rss>

