<?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: How to read 10000 Char text in SAS and insert into Oracle in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900261#M355798</link>
    <description>&lt;P&gt;Have your checked your DBMAX_TEXT setting?&lt;/P&gt;
&lt;P&gt;Either on the LIBNAME statement or as a dataset option.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 01:37:12 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-10-27T01:37:12Z</dc:date>
    <item>
      <title>How to read 10000 Char text in SAS and insert into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900253#M355795</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need help as I want to read 10000 Char text in SAS and insert into Oracle table -&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;How to SAS can read 10000 character field from flat file?&lt;/LI&gt;
&lt;LI&gt;and how can I insert this field to Oracle table (Oracle VarChar2 is limited to 4000 char long string) once read the variable?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help me with the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 00:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900253#M355795</guid>
      <dc:creator>nitink26</dc:creator>
      <dc:date>2023-10-27T00:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 10000 Char text in SAS and insert into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900257#M355797</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can read the 10000 character variable from sas but unable to put into the oracle table.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 01:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900257#M355797</guid>
      <dc:creator>nitink26</dc:creator>
      <dc:date>2023-10-27T01:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 10000 Char text in SAS and insert into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900261#M355798</link>
      <description>&lt;P&gt;Have your checked your DBMAX_TEXT setting?&lt;/P&gt;
&lt;P&gt;Either on the LIBNAME statement or as a dataset option.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 01:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900261#M355798</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-10-27T01:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 10000 Char text in SAS and insert into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900262#M355799</link>
      <description>This option doesn't apply for oracle varchar2 ---&lt;BR /&gt;Restrictions:	This option applies when you retrieve, append, and update rows in an existing table. It does not apply when you create a table.&lt;BR /&gt;This option is ignored for CHAR, VARCHAR, and VARCHAR2 (Oracle) data types.</description>
      <pubDate>Fri, 27 Oct 2023 01:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900262#M355799</guid>
      <dc:creator>nitink26</dc:creator>
      <dc:date>2023-10-27T01:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 10000 Char text in SAS and insert into Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900272#M355803</link>
      <description>&lt;P&gt;Do I understand it correctly that the varcghar2 column has a defined max length of 4000?&lt;/P&gt;
&lt;P&gt;And that can't be extended?&lt;/P&gt;
&lt;P&gt;"Variable-length character string having maximum length &lt;SPAN class="italic"&gt;&lt;CODE class="codeph"&gt;size&lt;/CODE&gt;&lt;/SPAN&gt; bytes or characters. You must specify &lt;SPAN class="italic"&gt;&lt;CODE class="codeph"&gt;size&lt;/CODE&gt;&lt;/SPAN&gt; for &lt;CODE class="codeph"&gt;VARCHAR2&lt;/CODE&gt;. Minimum &lt;SPAN class="italic"&gt;&lt;CODE class="codeph"&gt;size&lt;/CODE&gt;&lt;/SPAN&gt; is 1 byte or 1 character. Maximum size is:&lt;/P&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;
&lt;P&gt;32767 bytes or characters if &lt;CODE class="codeph"&gt;MAX_STRING_SIZE&lt;/CODE&gt; &lt;CODE class="codeph"&gt;=&lt;/CODE&gt; &lt;CODE class="codeph"&gt;EXTENDED&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;4000 bytes or characters if &lt;CODE class="codeph"&gt;MAX_STRING_SIZE&lt;/CODE&gt; &lt;CODE class="codeph"&gt;=&lt;/CODE&gt; &lt;CODE class="codeph"&gt;STANDARD"&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So question is are you willing to truncate the variable to 4000 chars? If so, there should not be a problem inserting it into Oracle (substr).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 07:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-10000-Char-text-in-SAS-and-insert-into-Oracle/m-p/900272#M355803</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-10-27T07:49:07Z</dc:date>
    </item>
  </channel>
</rss>

