<?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 SAS Intelligent Decisioning Code File writing to Oracle Database with LONG or CLOB data type in Decisioning</title>
    <link>https://communities.sas.com/t5/Decisioning/SAS-Intelligent-Decisioning-Code-File-writing-to-Oracle-Database/m-p/859320#M51</link>
    <description>&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a Data Query code file in SAS Intelligent Decisioning that writes to an Oracle Database. One string variable is being written to a variable with CLOB data type in Oracle, since its values will go beyond the 4000 limit of VARCHAR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works when we do the insert statement via SAS Studio, but testing the code file from the SCORING tab of a Decision Flow in SAS ID deems that it's unable to write to the table. Same thing happens when we publish to MAS - it's also unable to write to the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any CAS / MAS related limitation to writing to a CLOB variable in Oracle? We encounter the same problem for writing to variables in Oracle with LONG data type. Attached is a portion of the logs for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping to get some guidance regarding this error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2023 06:33:29 GMT</pubDate>
    <dc:creator>JAE2019</dc:creator>
    <dc:date>2023-02-17T06:33:29Z</dc:date>
    <item>
      <title>SAS Intelligent Decisioning Code File writing to Oracle Database with LONG or CLOB data type</title>
      <link>https://communities.sas.com/t5/Decisioning/SAS-Intelligent-Decisioning-Code-File-writing-to-Oracle-Database/m-p/859320#M51</link>
      <description>&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a Data Query code file in SAS Intelligent Decisioning that writes to an Oracle Database. One string variable is being written to a variable with CLOB data type in Oracle, since its values will go beyond the 4000 limit of VARCHAR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works when we do the insert statement via SAS Studio, but testing the code file from the SCORING tab of a Decision Flow in SAS ID deems that it's unable to write to the table. Same thing happens when we publish to MAS - it's also unable to write to the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any CAS / MAS related limitation to writing to a CLOB variable in Oracle? We encounter the same problem for writing to variables in Oracle with LONG data type. Attached is a portion of the logs for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping to get some guidance regarding this error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 06:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Decisioning/SAS-Intelligent-Decisioning-Code-File-writing-to-Oracle-Database/m-p/859320#M51</guid>
      <dc:creator>JAE2019</dc:creator>
      <dc:date>2023-02-17T06:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Intelligent Decisioning Code File writing to Oracle Database with LONG or CLOB data type</title>
      <link>https://communities.sas.com/t5/Decisioning/SAS-Intelligent-Decisioning-Code-File-writing-to-Oracle-Database/m-p/860235#M53</link>
      <description>&lt;P&gt;We use code as below when executing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dcl package sqlstmt _stmt("query");&lt;/P&gt;
&lt;P&gt;_stmt.setVarchar&amp;nbsp; &amp;nbsp; &amp;nbsp; to bind the value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try as above to reproduce. Maybe setVarchar is failing in this case.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:42:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Decisioning/SAS-Intelligent-Decisioning-Code-File-writing-to-Oracle-Database/m-p/860235#M53</guid>
      <dc:creator>konsri</dc:creator>
      <dc:date>2023-02-22T17:42:37Z</dc:date>
    </item>
  </channel>
</rss>

