<?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 Throwing Oracle errors when running Stored process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204071#M4575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;Hi&amp;nbsp; All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;I have an Issue with SAS AMO 5.1.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;all other users are able to update the records without any issues except me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;When am trying to run a Stored process to update some records via a Interface. it is throwing below errors&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;it throws below two error prompt windows as shown&amp;nbsp; and the data is never getting updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Error window 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;SAS Add-In&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;stored process CD_QM_UPDATE encountered errors while opening the results&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;we can continue to open the results or postpone processing by placing them in the status window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;Continue&amp;nbsp;&amp;nbsp; Postpone&amp;nbsp;&amp;nbsp;&amp;nbsp; Abort (These are buttons)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;When I click continue above below it prompts with a different below window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I checked the log window of first error&amp;nbsp; it shown below errors in that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: ORACLE execute error: ORA-00001: unique constraint (PDN_ST.SWA_PROD_CDQ_UNQ) violated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: ROLLBACK issued due to errors for data set FQTAB. TB_SWA_PROD_CDQ.DATA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Error window 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;BR /&gt;SAS Add-In&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;stored process "Name" &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f8f8f8;"&gt;CD_QM_UPDATE&lt;/SPAN&gt; has completed with no visual content. You can refresh this analysis through the Manage content dialog box&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;When I close this window the records never updates&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;any one has faced similar kind of experience&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;I would really appreciate if any one can help me with this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 04:12:02 GMT</pubDate>
    <dc:creator>sasprofile</dc:creator>
    <dc:date>2015-08-21T04:12:02Z</dc:date>
    <item>
      <title>Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204071#M4575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;Hi&amp;nbsp; All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;I have an Issue with SAS AMO 5.1.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;all other users are able to update the records without any issues except me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;When am trying to run a Stored process to update some records via a Interface. it is throwing below errors&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;it throws below two error prompt windows as shown&amp;nbsp; and the data is never getting updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Error window 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;SAS Add-In&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;stored process CD_QM_UPDATE encountered errors while opening the results&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;we can continue to open the results or postpone processing by placing them in the status window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;Continue&amp;nbsp;&amp;nbsp; Postpone&amp;nbsp;&amp;nbsp;&amp;nbsp; Abort (These are buttons)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;When I click continue above below it prompts with a different below window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I checked the log window of first error&amp;nbsp; it shown below errors in that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: ORACLE execute error: ORA-00001: unique constraint (PDN_ST.SWA_PROD_CDQ_UNQ) violated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: ROLLBACK issued due to errors for data set FQTAB. TB_SWA_PROD_CDQ.DATA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Error window 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;BR /&gt;SAS Add-In&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;stored process "Name" &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f8f8f8;"&gt;CD_QM_UPDATE&lt;/SPAN&gt; has completed with no visual content. You can refresh this analysis through the Manage content dialog box&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;When I close this window the records never updates&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;any one has faced similar kind of experience&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;I would really appreciate if any one can help me with this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f8f8f8;"&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 04:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204071#M4575</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2015-08-21T04:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204072#M4576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RTL!&lt;/P&gt;&lt;P&gt;Clearly you are violating constraints on the Oracle table. &lt;/P&gt;&lt;P&gt;Examine stored process logic with the constraints and your interaction. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 04:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204072#M4576</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-08-21T04:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204073#M4577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your stored process tries to do something that violates the integrity constraints imposed on the table(s) in question.&lt;/P&gt;&lt;P&gt;Inspect the constraints/integrity rules defined for the table(s). Since only one user is affected, it may be that you lack permissions for one of the tables which must be updated to make the transaction valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 06:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204073#M4577</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-08-21T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204074#M4578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for all other users when they are updating but only its not working for one user, and even the user for whom its working he tried to connecte to the sas server with his credential and tried to update stored process from non working sas amo and its throwing same errors.so its not a permissions issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 18:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204074#M4578</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2015-08-21T18:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204075#M4579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or local installation / configuration issue?&lt;/P&gt;&lt;P&gt;Sounds like you need to dig into bits and bytes. &lt;/P&gt;&lt;P&gt;I sugest that you open a track to SAS tech support. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204075#M4579</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-08-21T19:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204076#M4580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already open sas track,they are not very helpful they are suggesting to contact Oracle DBA to find out the constraints on the Oracle table we are getting error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204076#M4580</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2015-08-21T20:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Throwing Oracle errors when running Stored process</title>
      <link>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204077#M4581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest making an identical copy of your stored process for testing with this particular user, and looking at adding some of the &lt;A href="https://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a000433982.htm"&gt;SASTRACE options for debugging&lt;/A&gt; (probably ',,,d'), and looking in the STP logs to see what values are being sent to Oracle and what logic is executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS are correct - this problem is an Oracle problem, but using the SASTRACE option above you should be able to figure it out with your DBA. I know they're very friendly people &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you struggle to get anywhere when talking to them, try creating that user a test stored process with this inside:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc sql;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; CONNECT TO ORACLE (USER=XXX PASS=XXX PATH=XXX);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table userconstraints as &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from connection to oracle (&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;FROM user_constraints&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; DISCONNECT from ORACLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc print data=userconstraints; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you something to present to your DBA. It may be worth comparing the output for users where it is working and others where it is not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 08:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Throwing-Oracle-errors-when-running-Stored-process/m-p/204077#M4581</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2015-08-28T08:57:21Z</dc:date>
    </item>
  </channel>
</rss>

