<?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 Execute PL/SQL package in DI Studio in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576488#M17673</link>
    <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to execute a PL/SQL Oracle package on the Database via SAS DI Studio?&lt;/P&gt;&lt;P&gt;I know it is possible to execute functions in this manner, however haven't come across an actual PL/SQL package been executed in this manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is possible, would anyone have examples/reference doc's or code snippets to help me achieve this please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A basic call of the package is below;&lt;/P&gt;&lt;P&gt;execute package.go();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Aidan&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 07:52:27 GMT</pubDate>
    <dc:creator>Aidan</dc:creator>
    <dc:date>2019-07-25T07:52:27Z</dc:date>
    <item>
      <title>Execute PL/SQL package in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576488#M17673</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to execute a PL/SQL Oracle package on the Database via SAS DI Studio?&lt;/P&gt;&lt;P&gt;I know it is possible to execute functions in this manner, however haven't come across an actual PL/SQL package been executed in this manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is possible, would anyone have examples/reference doc's or code snippets to help me achieve this please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A basic call of the package is below;&lt;/P&gt;&lt;P&gt;execute package.go();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Aidan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 07:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576488#M17673</guid>
      <dc:creator>Aidan</dc:creator>
      <dc:date>2019-07-25T07:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Execute PL/SQL package in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576495#M17674</link>
      <description>&lt;P&gt;I normally split such questions into two parts:&lt;/P&gt;
&lt;P&gt;1. How can I do it with SAS&lt;/P&gt;
&lt;P&gt;2. Can I use an existing DIS transformation or do I need user written code or a user written transformation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 1: Yes, via explicit pass-through SQL. Here an example:&amp;nbsp;&lt;A href="https://renenyffenegger.ch/notes/Companies-Products/SAS/programming/proc/sql/oracle/call-function" target="_blank"&gt;https://renenyffenegger.ch/notes/Companies-Products/SAS/programming/proc/sql/oracle/call-function&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 2: That will depend on the details of your task but the SQL transformations like Execute will already allow for quite a few things. Just make sure to enable explicit pass-through so that you can use DB SQL syntax in the expression tab.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etlug/65807/HTML/default/viewer.htm#n0o4rbvvosnwran10wcv2e4ewyvd.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etlug/65807/HTML/default/viewer.htm#n0o4rbvvosnwran10wcv2e4ewyvd.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576495#M17674</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-07-25T08:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Execute PL/SQL package in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576542#M17676</link>
      <description>Thank you Patrick, I will test a few bits and let you know how it goes.&lt;BR /&gt;&lt;BR /&gt;Much appreciated</description>
      <pubDate>Thu, 25 Jul 2019 11:46:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Execute-PL-SQL-package-in-DI-Studio/m-p/576542#M17676</guid>
      <dc:creator>Aidan</dc:creator>
      <dc:date>2019-07-25T11:46:10Z</dc:date>
    </item>
  </channel>
</rss>

