<?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: SAS DI Truncates Characters that have length greater than 2000 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705837#M216575</link>
    <description>&lt;P&gt;Send a screenshot of the settings if you can, or the text of the tech support explanations, so the next person who encounters the issue can fix it.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 20:26:55 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-12-14T20:26:55Z</dc:date>
    <item>
      <title>SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704903#M216131</link>
      <description>&lt;P&gt;Greeting everyone,&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; encounter the following problem:&lt;/P&gt;
&lt;P&gt;I have a MongoDB database which reads the data through CData driver. The driver works fine and stores json arrays in SAS Dataset. By default the maximum number of characters that a character column accepts is 2000. Is there any configuration in which I could increase the number of characters stored in the column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The version of SAS DI that I am using is the following:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Version&lt;/STRONG&gt;&lt;SPAN&gt;: 4.904&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Vasilios&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 00:34:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704903#M216131</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2020-12-10T00:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704992#M216165</link>
      <description>&lt;P&gt;Your process is unclear. Do your MongoDB fields contain JSON strings?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:10:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704992#M216165</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-10T09:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704993#M216166</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;By default the maximum number of characters that a character column accepts is 2000"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Where have you discovered hgtis?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pretty sure that SAS DI don't have any limitations at this size.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When you say it works fine and it's stored in a SAS dataset, does this dataset have appriopriate char lengths?&lt;/P&gt;
&lt;P&gt;Please share more details on this connection and how you integrate using DI Studio.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704993#M216166</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2020-12-10T09:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704998#M216168</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;Yes, since MongoDB is a document database it contains json strings.&lt;/P&gt;
&lt;P&gt;To clarify in more detail, we store json strings that are read from mongodb through a driver (CData Driver) in sas datasets via SAS DI.&lt;/P&gt;
&lt;P&gt;Columns that contain array of documents however are being stored in SAS datasets and are not "flattened". The driver reads the json documents and assigns them in columns that have length 2000 size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question is whether we could increase the size of the columns or not.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/704998#M216168</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2020-12-10T09:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705000#M216169</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;I have observed this through the sas datasets that the driver creates. So I was wondering if there is configuration that could actual increase the size of the columns in SAS DI.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705000#M216169</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2020-12-10T09:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705002#M216171</link>
      <description>&lt;P&gt;This is a CData question, not&amp;nbsp; SAS question.&lt;/P&gt;
&lt;P&gt;Their &lt;A href="http://cdn.cdata.com/help/RDD/odbc/RSBOData_p_Other.htm" target="_self"&gt;documentation&lt;/A&gt; states&lt;/P&gt;
&lt;TABLE class="table"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="nowrap"&gt;DefaultColumnSize&lt;/TD&gt;
&lt;TD&gt;Sets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Look there to see how to configure that driver.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 09:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705002#M216171</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-10T09:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705505#M216453</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt; Indeed this is stated in the site.&lt;BR /&gt;I couldn't find the setting and I have contacted them. They stated that there is a field in the setting of the driver that I should declare the setting explicitly.</description>
      <pubDate>Sun, 13 Dec 2020 15:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705505#M216453</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2020-12-13T15:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705837#M216575</link>
      <description>&lt;P&gt;Send a screenshot of the settings if you can, or the text of the tech support explanations, so the next person who encounters the issue can fix it.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 20:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705837#M216575</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-14T20:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705844#M216579</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vfarmak_0-1607979557901.png" style="width: 571px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52611i5F00ED1E8CE4B80F/image-dimensions/571x421?v=v2" width="571" height="421" role="button" title="vfarmak_0-1607979557901.png" alt="vfarmak_0-1607979557901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;As you can see in the screenshot, in the Misc section of the driver, you have to set the DefaultColumnSize equal to 8000.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, they suggested me to download another version of the driver (since the manual restart of DI or the re-execution of the ODBC Data Source did not came in handy). I haven't tried it yet (we need to perform that change in an isolated environment and not in production).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the record, they proposed me this version of the program which can be found in the below Url:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcdatabuilds.s3.amazonaws.com%2Fsupport%2FDGDF-A_7649.exe&amp;amp;data=04%7C01%7Cvasilios.farmakiotis%40generali.gr%7Cd91ce58983414603154408d89d314558%7C699f77e6eff641a9b7e6698fe9445e9a%7C0%7C1%7C637432185280368727%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=Q4kvmLb3qjan8XYc3954R%2BjCvbc7Cpaqkd4U2Hz5HIA%3D&amp;amp;reserved=0" target="_blank"&gt;http://cdatabuilds.s3.amazonaws.com/support/DGDF-A_7649.exe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 21:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705844#M216579</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2020-12-14T21:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705886#M216597</link>
      <description>&lt;P&gt;Very informative! Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 00:50:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705886#M216597</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-15T00:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Truncates Characters that have length greater than 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705897#M216601</link>
      <description>You're welcome!&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2020 01:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-DI-Truncates-Characters-that-have-length-greater-than-2000/m-p/705897#M216601</guid>
      <dc:creator>vfarmak</dc:creator>
      <dc:date>2020-12-15T01:28:54Z</dc:date>
    </item>
  </channel>
</rss>

