<?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: SQL Custom Step - Stored Procedure in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744990#M1448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, and this is the argument that you can pass into the custom step &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;/database:jtxsystem /sql:"BEGIN Shema.Package.ProcedureName(param1,param2); END;"&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also take a look at this forum post &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=985&amp;amp;t=268342" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt; that is related to what you are doing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tope&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2012 15:08:52 GMT</pubDate>
    <dc:creator>TopeBello</dc:creator>
    <dc:date>2012-03-06T15:08:52Z</dc:date>
    <item>
      <title>SQL Custom Step - Stored Procedure</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744989#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to run a stored procedure, in Oracle, using the SQL custom step. I have WMX 10, Desktop. WMX is installed on the same DB as the stored procedure, I and WMX have execute rights on the procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When running the step, I get the error "An error occurred while trying to execute this step. Underlying DBMS error [Ora-00900: Invalid SQL statement]"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is not a coding error as I can successfully run the procedure from Oracle, as the WMX user. It is not a permission issue as, for testing, I gave public execution rights on the procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The step is declared as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/database:jtxsystem /sql:"execute Shema.Package.ProcedureName(param1,param2)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried, with no luck,the Data DB (same as the jtxsystem DB anyways), and with/without an ending ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone succeeded in running a stored procedure from a custom SQl step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 18:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744989#M1447</guid>
      <dc:creator>Jean-GabrielHasbani</dc:creator>
      <dc:date>2012-02-29T18:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Custom Step - Stored Procedure</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744990#M1448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, and this is the argument that you can pass into the custom step &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;/database:jtxsystem /sql:"BEGIN Shema.Package.ProcedureName(param1,param2); END;"&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also take a look at this forum post &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=985&amp;amp;t=268342" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt; that is related to what you are doing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tope&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 15:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744990#M1448</guid>
      <dc:creator>TopeBello</dc:creator>
      <dc:date>2012-03-06T15:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Custom Step - Stored Procedure</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744991#M1449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much! It works perfectly with this syntax!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jean&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:24:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/sql-custom-step-stored-procedure/m-p/744991#M1449</guid>
      <dc:creator>Jean-GabrielHasbani</dc:creator>
      <dc:date>2012-03-08T18:24:29Z</dc:date>
    </item>
  </channel>
</rss>

