<?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: ERROR: The character variable char has too long a value for the DLIB library in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570604#M11985</link>
    <description>&lt;P&gt;I got solution for this issue. This issues was related to latest version of redshift ODBC driver 1.4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uninstalled this driver and installed redshift ODBC drive 1.3. After this change, it worked well.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 15:33:51 GMT</pubDate>
    <dc:creator>milind3889</dc:creator>
    <dc:date>2019-07-02T15:33:51Z</dc:date>
    <item>
      <title>ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569665#M11844</link>
      <description>&lt;P&gt;When we upload SAS dataset with only numeric variable to redshift, it is uploaded successfully.&lt;/P&gt;&lt;P&gt;But when we upload SAS dataset with character variables to redshift, we are getting error as below.ERROR: The character variable char has too long a value for the DLIB library.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using SAS/ACCESS Interface to ODBC for connection with redshift.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname dlib odbc user="milind" password="xxxxxxxxxxxxxxxxx"  
datasrc="RWE_pharmetrics_DSN" schema="public";

data mtest2(drop=i);
length no1 8 no2 8 char $8;
do i=1 to 10;
no1=i;
no2=i*i;
char="abc";
output;
end;
run;


data dlib.mtest2;
set mtest2;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;2 libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX datasrc="RWE_pharmetrics_DSN"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;2 ! schema="public";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: Libref DLIB was successfully assigned as follows:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;Engine: ODBC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;Physical Name: RWE_pharmetrics_DSN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;4 data mtest2(drop=i);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;5 length no1 8 no2 8 char $8;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;6 do i=1 to 10;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;7 no1=i;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;8 no2=i*i;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;9 char="abc";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;10 output;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;11 end;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;12 run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The data set WORK.MTEST2 has 10 observations and 3 variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;real time 0.03 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;cpu time 0.03 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;13&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;14&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;15 data dlib.mtest2;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;16 set mtest2;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;17 run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;ERROR: The character variable char has too long a value for the DLIB library.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: The data set DLIB.MTEST2 was only partially opened and will not be saved.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: File deletion failed for DLIB.MTEST2.DATA.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;real time 0.14 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;cpu time 0.09 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;Please see below ODBC data source settings.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ODBC_data_source_settings.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30606iC1335E6262A3E426/image-size/large?v=v2&amp;amp;px=999" role="button" title="ODBC_data_source_settings.jpg" alt="ODBC_data_source_settings.jpg" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 22:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569665#M11844</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-27T22:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569670#M11846</link>
      <description>Do you have a different Access engine you can try? I think SAS has redshift specifically if you have the license.&lt;BR /&gt;&lt;BR /&gt;You can check your licenses with&lt;BR /&gt;&lt;BR /&gt;proc setinit;run;&lt;BR /&gt;&lt;BR /&gt;and installlation:&lt;BR /&gt;&lt;BR /&gt;proc product_status;run;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 23:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569670#M11846</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-27T23:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569685#M11847</link>
      <description>&lt;P&gt;We dont have difference access engine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have SAS/ACCESS Interface to ODBC license. We have use this product only,&lt;/P&gt;&lt;P&gt;(We don't have SAS/ACCESS Interface to Redshift).&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 02:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569685#M11847</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-28T02:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569772#M11863</link>
      <description>&lt;P&gt;Try libname's option "&amp;nbsp; dbmax_text=32767 " .&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569772#M11863</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-28T13:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569776#M11864</link>
      <description>&lt;P&gt;Or may SQL is a better company .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;proc sql;&lt;BR /&gt;create table dlib&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;mtest2 as
&lt;SPAN class="token keyword"&gt;select * from&lt;/SPAN&gt; mtest2&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;quit&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;BR /&gt;&lt;BR /&gt;/**********************************/&lt;BR /&gt;proc sql;&lt;BR /&gt;create table dlib.mtest2 like  mtest2;&lt;BR /&gt;&lt;BR /&gt;insert into dlib.mtest2
&lt;SPAN class="token keyword"&gt;select * from&lt;/SPAN&gt; mtest2 ;
&lt;SPAN class="token procnames"&gt;quit&lt;/SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569776#M11864</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-28T13:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569777#M11865</link>
      <description>&lt;P&gt;And use these option to check what real SQL passed into DB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
option sastrace=',,,d' sastraceloc=saslog ;

proc sql;
insert into have
 set sex='G';
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569777#M11865</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-28T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569805#M11867</link>
      <description>I tried with this option. It did not work.</description>
      <pubDate>Fri, 28 Jun 2019 13:55:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569805#M11867</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-28T13:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569807#M11869</link>
      <description>&lt;P&gt;I tried this. It did not work. Please see below log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;88 libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX datasrc="RWE_pharmetrics_DSN"&lt;BR /&gt;88 ! schema="public" dbmax_text=32767 ;&lt;BR /&gt;NOTE: Libref DLIB was successfully assigned as follows:&lt;BR /&gt;Engine: ODBC&lt;BR /&gt;Physical Name: RWE_pharmetrics_DSN&lt;BR /&gt;89&lt;BR /&gt;90 data mtest2(drop=i);&lt;BR /&gt;91 length no1 8 no2 8 char $8;&lt;BR /&gt;92 do i=1 to 10;&lt;BR /&gt;93 no1=i;&lt;BR /&gt;94 no2=i*i;&lt;BR /&gt;95 char="abc";&lt;BR /&gt;96 output;&lt;BR /&gt;97 end;&lt;BR /&gt;98 run;&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.MTEST2 has 10 observations and 3 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;99&lt;BR /&gt;100&lt;BR /&gt;101 data dlib.mtest2;&lt;BR /&gt;102 set mtest2;&lt;BR /&gt;103 run;&lt;/P&gt;&lt;P&gt;ERROR: The character variable char has too long a value for the DLIB library.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set DLIB.MTEST2 was only partially opened and will not be saved.&lt;BR /&gt;WARNING: File deletion failed for DLIB.MTEST2.DATA.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.17 seconds&lt;BR /&gt;cpu time 0.14 seconds&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569807#M11869</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-28T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569819#M11870</link>
      <description>&lt;P&gt;I tried the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below log for Program1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;106 libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX datasrc="RWE_pharmetrics_DSN"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;106! schema="public";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: Libref DLIB was successfully assigned as follows:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;Engine: ODBC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;Physical Name: RWE_pharmetrics_DSN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;107&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;108 proc sql;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;109 create table dlib.mtest2 as&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;110 select * from mtest2;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FF0000"&gt;ERROR: The character variable char has too long a value for the DLIB library.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: File deletion failed for DLIB.MTEST2.DATA.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;111 quit;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;real time 0.15 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;cpu time 0.12 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2" color="#000000"&gt;Please see below log for Program2:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#0000FF"&gt;122 libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX datasrc="RWE_pharmetrics_DSN"&lt;BR /&gt;122! schema="public";&lt;BR /&gt;NOTE: Libref DLIB was successfully assigned as follows:&lt;BR /&gt;Engine: ODBC&lt;BR /&gt;Physical Name: RWE_pharmetrics_DSN&lt;BR /&gt;123 /*&lt;BR /&gt;124 proc sql;&lt;BR /&gt;125 create table dlib.mtest2 as&lt;BR /&gt;126 select * from mtest2;&lt;BR /&gt;127 quit;&lt;BR /&gt;128 */&lt;BR /&gt;129 /**********************************/&lt;BR /&gt;130&lt;BR /&gt;131 proc sql;&lt;BR /&gt;132 create table dlib.mtest2 like mtest2;&lt;BR /&gt;ERROR: The character variable char has too long a value for the DLIB library.&lt;BR /&gt;WARNING: File deletion failed for DLIB.MTEST2.DATA.&lt;BR /&gt;133 insert into dlib.mtest2&lt;BR /&gt;134 select * from mtest2 ;&lt;BR /&gt;ERROR: File DLIB.MTEST2.DATA does not exist.&lt;BR /&gt;135 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.20 seconds&lt;BR /&gt;cpu time 0.12 seconds&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 14:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569819#M11870</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-28T14:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569827#M11872</link>
      <description>&lt;P&gt;Use options&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;option sastrace&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;',,,d'&lt;/SPAN&gt; sastraceloc&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;saslog &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;before PROC SQL and see what happened .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 14:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569827#M11872</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-28T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569830#M11873</link>
      <description>&lt;P&gt;Oh. Maybe 'char' is a keyword for DB .&lt;/P&gt;
&lt;P&gt;And change 'char' into any validate variable name like 'xxx' .&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 14:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569830#M11873</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-28T14:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569863#M11875</link>
      <description>&lt;P&gt;Please see below log with sastrace option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;171&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;172&amp;nbsp; options sastrace=',,,' sastraceloc=saslog;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;173&amp;nbsp; libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX&amp;nbsp; datasrc="RWE_pharmetrics_DSN"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;173! schema="public"&amp;nbsp; dbmax_text=32767 ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: Libref DLIB was successfully assigned as follows:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODBC&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Physical Name: RWE_pharmetrics_DSN&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;174&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;175&amp;nbsp; data mtest2(drop=i);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;176&amp;nbsp; length no1 8 no2 8 char $8;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;177&amp;nbsp; do i=1 to 10;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;178&amp;nbsp; no1=i;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;179&amp;nbsp; no2=i*i;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;180&amp;nbsp; char="abc";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;181&amp;nbsp; output;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;182&amp;nbsp; end;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;183&amp;nbsp; run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The data set WORK.MTEST2 has 10 observations and 3 variables.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;184&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;185&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;186&amp;nbsp; data dlib.mtest2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;187&amp;nbsp; set mtest2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;188&amp;nbsp; run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#FF0000"&gt;ERROR: The character variable char has too long a value for the DLIB library.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: The data set DLIB.MTEST2 was only partially opened and will not be saved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: File deletion failed for DLIB.MTEST2.DATA.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.14 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.09 seconds&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 15:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569863#M11875</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-28T15:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569873#M11878</link>
      <description>That still uses the variable named char. I'm surprised the dB allows you to have a variable with that name since it's usually a key word. Try using a different name and see what happens?</description>
      <pubDate>Fri, 28 Jun 2019 15:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569873#M11878</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-28T15:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569894#M11881</link>
      <description>&lt;P&gt;Yes. I tried with different variable name. But no luck. Please see below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC: AUTOCOMMIT is NO for connection 0 0 1877360424 tkvercn1 0 Submit&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;2 options sastrace=',,,d' sastraceloc=saslog;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;3 libname dlib odbc user="milind" password=XXXXXXXXXXXXXXXXXXXXXX datasrc="RWE_pharmetrics_DSN"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;3 ! schema="public";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: Libref DLIB was successfully assigned as follows:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;Engine: ODBC&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;Physical Name: RWE_pharmetrics_DSN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;5 data mtest2(drop=i);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;6 length no1 8 no2 8 var1 $8;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;7 do i=1 to 10;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;8 no1=i;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;9 no2=i*i;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;10 var1="abc";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;11 output;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;12 end;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;13 run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The data set WORK.MTEST2 has 10 observations and 3 variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;real time 0.03 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;cpu time 0.03 seconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;14&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;16 data dlib.mtest3;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;17 set mtest2;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;18 run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC: AUTOCOMMIT is NO for connection 1 1 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC: AUTOCOMMIT turned ON for connection id 1 2 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;3 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC_1: Prepared: on connection 1 4 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;SELECT * FROM public.MTEST3 WHERE 0=1 5 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;6 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC: AUTOCOMMIT is NO for connection 2 7 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#FF0000"&gt;ERROR: The character variable var1 has too long a value for the DLIB library.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: The data set DLIB.MTEST3 was only partially opened and will not be saved.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC: ROLLBACK performed on connection 2. 8 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;ODBC: COMMIT performed on connection 2. 9 1877360424 tkvercn1 0 DATASTEP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;WARNING: File deletion failed for DLIB.MTEST3.DATA.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;real time 0.15 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7" color="#0000FF"&gt;cpu time 0.12 seconds&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 17:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569894#M11881</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-06-28T17:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569934#M11886</link>
      <description>&lt;P&gt;Here is a possible change to your test data to consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data mtest2(drop=i);
length no1 8 no2 8 char $&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;;
do i=1 to 10;
no1=i;
no2=i*i;
char="a";
output;
end;
run;
&lt;/PRE&gt;
&lt;P&gt;I don't know the target data base at all but perhaps it uses CHAR internally to express a single character. That is a possible long shot for why you get "variable too long" errors.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 18:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/569934#M11886</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-06-28T18:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570038#M11902</link>
      <description>&lt;P&gt;OK. Running the following code and see what happened.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data mtest2(drop=i);
do i=1 to 10;
aaaa=i;
bbbb=i*i;
xxxx="abc";
output;
end;
run;


options sastrace=',,,d' sastraceloc=saslog ;
proc sql;
create table dlib.mtest2 as
select * from mtest2;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Jun 2019 12:00:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570038#M11902</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-06-29T12:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570602#M11984</link>
      <description>I had tried this also. I got same error.</description>
      <pubDate>Tue, 02 Jul 2019 15:32:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570602#M11984</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-07-02T15:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570604#M11985</link>
      <description>&lt;P&gt;I got solution for this issue. This issues was related to latest version of redshift ODBC driver 1.4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uninstalled this driver and installed redshift ODBC drive 1.3. After this change, it worked well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 15:33:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/570604#M11985</guid>
      <dc:creator>milind3889</dc:creator>
      <dc:date>2019-07-02T15:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/728145#M28257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am facing the same issue with Redshift ODBC driver 1.4.2. And am unable to find the&amp;nbsp;Redshift ODBC driver 1.3 to download anywhere on the AWS website. Any suggestions or link to download it?&lt;/P&gt;
&lt;P&gt;Any other option that can help resolve the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/728145#M28257</guid>
      <dc:creator>prashantpare</dc:creator>
      <dc:date>2021-03-22T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The character variable char has too long a value for the DLIB library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/739043#M28927</link>
      <description>&lt;P&gt;Same issue with same ERROR message.&amp;nbsp; Could not resolve, but was able to get around using the below append method instead.&amp;nbsp; Exact same data that return error message using original methods.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* works */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc datasets library= dbIndLab;&lt;BR /&gt;append base = wlslog3 data = work.testData2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* error */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: The character variable category has too long a value for the DBINDLAB library.&lt;/FONT&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;INSERT INTO dbIndLab.wlslog3&lt;BR /&gt;SELECT * FROM work.testData3;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* error */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: The character variable category has too long a value for the DBINDLAB library.&lt;/FONT&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;INSERT INTO dbIndLab.wlslog3 (id,category,type,servername,code,msg)&lt;BR /&gt;SELECT id,substr(category,25) as category,type,servername,code,msg FROM work.testData3;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* error */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: The character variable category has too long a value for the DBINDLAB library.&lt;/FONT&gt;&lt;BR /&gt;data dbIndLab.wlslog4;&lt;BR /&gt;set work.testData3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* also works */&lt;/STRONG&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;INSERT INTO dbIndLab.wlslog3 (id,category,type,servername,code,msg)&lt;BR /&gt;VALUES (199,'categoryX','typeX','servernameX','codeX','msgX');&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 19:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-The-character-variable-char-has-too-long-a-value-for-the/m-p/739043#M28927</guid>
      <dc:creator>BarryParish2</dc:creator>
      <dc:date>2021-05-04T19:47:08Z</dc:date>
    </item>
  </channel>
</rss>

