<?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: Oracle Syntax Problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191976#M48249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just trying to be obtuse....&amp;nbsp; I messed up the periods - should be AAA_BBB_CCCC.MY_STORED_PROCESS_NAME &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can run the stored process from SQL + so that shouldn't be an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 18:11:00 GMT</pubDate>
    <dc:creator>OS2Rules</dc:creator>
    <dc:date>2014-12-01T18:11:00Z</dc:date>
    <item>
      <title>Oracle Syntax Problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191974#M48247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS/ACCESS ODBC (v9.3) to access an Oracle table.&amp;nbsp; I would like to execute a stored process but I keep getting an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sql;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; connect TO ODBC (datasrc=odbc_name user=myuserid password=XXXX1234 );&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; execute (execute AAA_BBB_CCCC.MY.STORED.PROCESS.NAME&amp;nbsp; ) by ODBC;&lt;/P&gt;&lt;P&gt;ERROR: CLI execute error: [Oracle][ODBC]Syntax error or access violation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; disconnect from ODBC;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this same syntax for a SQL Server store process and it works there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 15:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191974#M48247</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-12-01T15:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Syntax Problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191975#M48248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure of the package name?&amp;nbsp; You're probably obfuscating, but I don't think it can have all of the periods.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 17:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191975#M48248</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2014-12-01T17:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Syntax Problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191976#M48249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just trying to be obtuse....&amp;nbsp; I messed up the periods - should be AAA_BBB_CCCC.MY_STORED_PROCESS_NAME &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can run the stored process from SQL + so that shouldn't be an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 18:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191976#M48249</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-12-01T18:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Syntax Problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191977#M48250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried a semicolon on your EXECUTE statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute (execute AAA_BBB_CCCC.MY_STORED_PROCESS_NAME;&amp;nbsp; ) by ODBC;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 18:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191977#M48250</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-12-01T18:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Syntax Problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191978#M48251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SASKiwi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That give me a syntax error.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 18:39:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191978#M48251</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-12-01T18:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Syntax Problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191979#M48252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are right, semicolons are only required on SELECT statements. Unfortunately I don't have Oracle to test this out on, although I too have a stored procedure running under SQL Server and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this: &lt;A href="http://support.sas.com/kb/18/350.html" title="http://support.sas.com/kb/18/350.html"&gt;18350 - Calling stored procedures using SAS/ACCESS® Interface to Oracle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe try: execute (execute AAA_BBB_CCCC.MY_STORED_PROCESS_NAME() ) by ODBC; Does your stored proc have any parameters?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 19:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Syntax-Problem/m-p/191979#M48252</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-12-01T19:08:24Z</dc:date>
    </item>
  </channel>
</rss>

