<?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 updating the length of a character variable in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/313490#M21150</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone guide in resolving the below issue.&lt;/P&gt;&lt;P&gt;While running the query in EG getting following error "&lt;STRONG&gt;Incorrect length in SAS Metadata Repository for columns ABC". &amp;nbsp;&lt;/STRONG&gt;After looking at the structure of oracle database i could see that ABC column is having &lt;STRONG&gt;character length of 40&lt;/STRONG&gt; while in EG its showing up with&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;140,&amp;nbsp;&lt;/STRONG&gt; Any way that we can update in SAS Mangement console and will this&amp;nbsp;&amp;nbsp;&lt;A href="http://support.sas.com/kb/38/707.html" target="_blank"&gt;http://support.sas.com/kb/38/707.html&lt;/A&gt; help us in resolving the issue, since we need are having multiple environments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jubi&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 15:20:06 GMT</pubDate>
    <dc:creator>jubikunjumon</dc:creator>
    <dc:date>2016-11-22T15:20:06Z</dc:date>
    <item>
      <title>updating the length of a character variable</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/313490#M21150</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone guide in resolving the below issue.&lt;/P&gt;&lt;P&gt;While running the query in EG getting following error "&lt;STRONG&gt;Incorrect length in SAS Metadata Repository for columns ABC". &amp;nbsp;&lt;/STRONG&gt;After looking at the structure of oracle database i could see that ABC column is having &lt;STRONG&gt;character length of 40&lt;/STRONG&gt; while in EG its showing up with&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;140,&amp;nbsp;&lt;/STRONG&gt; Any way that we can update in SAS Mangement console and will this&amp;nbsp;&amp;nbsp;&lt;A href="http://support.sas.com/kb/38/707.html" target="_blank"&gt;http://support.sas.com/kb/38/707.html&lt;/A&gt; help us in resolving the issue, since we need are having multiple environments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jubi&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 15:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/313490#M21150</guid>
      <dc:creator>jubikunjumon</dc:creator>
      <dc:date>2016-11-22T15:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: updating the length of a character variable</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/313903#M21177</link>
      <description>&lt;P&gt;The KB you reference is only for the specific case where you're using&amp;nbsp;&lt;SPAN&gt;DBSASTYPE= in your libname definition. Is this the case for you?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If not then I believe you could just change the column metadata definition in the table so it's in sync with what you have in Oracle (not sure but I would just try in a DEV environment, may be first by playing around on a copy of the existing table metadata object to not impact on anything existing).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In case you're using the table metadata not only in EG but also with tools like DIS then you will have to do some impact analysis first in order to determine where else you have to amend things.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I personally don't like to use the meta engine for EG. Is there any reason you have to?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 22:29:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/313903#M21177</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-11-23T22:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: updating the length of a character variable</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/314097#M21204</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing an update for the query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;The KB you reference is only for the specific case where you're using&amp;nbsp;DBSASTYPE= in your libname definition. Is this the case for you?&lt;/STRIKE&gt; NO ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the below option which you have specified sounds good, will try to take the backup of the metadata in SMC before replicating the changes. Will try to go through dev env.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRIKE&gt;If not then I believe you could just change the column metadata definition in the table so it's in sync with what you have in Oracle (not sure but I would just try in a DEV environment, may be first by playing around on a copy of the existing table metadata object to not impact on anything existing)&lt;/STRIKE&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is no specfic reason for doing this in EG will try to have in DIS&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 13:55:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/updating-the-length-of-a-character-variable/m-p/314097#M21204</guid>
      <dc:creator>jubikunjumon</dc:creator>
      <dc:date>2016-11-24T13:55:10Z</dc:date>
    </item>
  </channel>
</rss>

