<?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 Truncate the length of values of variables? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607475#M35167</link>
    <description>Pls tell me any macro available for trucation??&lt;BR /&gt;</description>
    <pubDate>Tue, 26 Nov 2019 19:36:18 GMT</pubDate>
    <dc:creator>Rakesh93</dc:creator>
    <dc:date>2019-11-26T19:36:18Z</dc:date>
    <item>
      <title>How Truncate the length of values of variables?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607465#M35165</link>
      <description>While validating my dataset, it's showing Variable length is too long for actual data.</description>
      <pubDate>Tue, 26 Nov 2019 18:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607465#M35165</guid>
      <dc:creator>Rakesh93</dc:creator>
      <dc:date>2019-11-26T18:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How Truncate the length of values of variables?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607474#M35166</link>
      <description>&lt;P&gt;You can either create a new dataset with a LENGTH statement for your variable, or use the ALTER TABLE statement in PROC SQL with the MODIFY clause to change the variable length in your original table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* create example table */
data class; set sashelp.class; run;

/* Modify length of variable NAME */
proc sql;
alter table class 
modify name character(6);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Nov 2019 19:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607474#M35166</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-26T19:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How Truncate the length of values of variables?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607475#M35167</link>
      <description>Pls tell me any macro available for trucation??&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Nov 2019 19:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607475#M35167</guid>
      <dc:creator>Rakesh93</dc:creator>
      <dc:date>2019-11-26T19:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: How Truncate the length of values of variables?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607484#M35168</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/294186"&gt;@Rakesh93&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Pls tell me any macro available for trucation??&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you asking about macros because you have a lot of variables to truncate? If so, please explain further.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 19:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607484#M35168</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-26T19:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: How Truncate the length of values of variables?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607485#M35169</link>
      <description>&lt;P&gt;No macro needed, please refer to edited message above.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 19:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607485#M35169</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-26T19:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How Truncate the length of values of variables?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607582#M35173</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/294186"&gt;@Rakesh93&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Pls tell me any macro available for trucation??&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No macro needed. Just run the code you were already given.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 09:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-Truncate-the-length-of-values-of-variables/m-p/607582#M35173</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-27T09:20:16Z</dc:date>
    </item>
  </channel>
</rss>

