<?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 - variable has too long a value for the XXX library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-variable-has-too-long-a-value-for-the-XXX-library/m-p/810004#M319425</link>
    <description>&lt;P&gt;What's the length of VAR1 in Redshift. Most likely it is defined as less than 10 characters. Run this to confirm:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data =  rsconn.table1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Apr 2022 20:03:12 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-04-26T20:03:12Z</dc:date>
    <item>
      <title>Error - variable has too long a value for the XXX library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-variable-has-too-long-a-value-for-the-XXX-library/m-p/809930#M319421</link>
      <description>&lt;P&gt;I am getting below error while creating a table on Redshift using (datastep) Redshift ODBC connection.&lt;/P&gt;&lt;P&gt;ERROR: The character variable VAR1 has too long a value for the RSCONN library.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my connection statement and datastep:&lt;/P&gt;&lt;P&gt;libname rsconn odbc datasrc='XXXXXXXXXX' user="&amp;amp;user." pwd="&amp;amp;rspwd." schema=XXXXX;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data rsconn.table1;&lt;/P&gt;&lt;P&gt;set work.table2(keep=var1);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The length of the var1 is $10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help in resolving this issue is appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 18:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-variable-has-too-long-a-value-for-the-XXX-library/m-p/809930#M319421</guid>
      <dc:creator>MadhavCheluka</dc:creator>
      <dc:date>2022-04-26T18:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error - variable has too long a value for the XXX library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-variable-has-too-long-a-value-for-the-XXX-library/m-p/810004#M319425</link>
      <description>&lt;P&gt;What's the length of VAR1 in Redshift. Most likely it is defined as less than 10 characters. Run this to confirm:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data =  rsconn.table1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Apr 2022 20:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-variable-has-too-long-a-value-for-the-XXX-library/m-p/810004#M319425</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-04-26T20:03:12Z</dc:date>
    </item>
  </channel>
</rss>

