<?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 Adding a column to a SAS Table in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Adding-a-column-to-a-SAS-Table/m-p/112707#M31179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; am trying to add a column to an existing column and the length is not working right. I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;add pl_desc char label='pl_desc' length=40 format=$40.;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at how the column looks in view, It says length is only 8. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 20:55:06 GMT</pubDate>
    <dc:creator>tmm</dc:creator>
    <dc:date>2013-06-19T20:55:06Z</dc:date>
    <item>
      <title>Adding a column to a SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Adding-a-column-to-a-SAS-Table/m-p/112707#M31179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; am trying to add a column to an existing column and the length is not working right. I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;add pl_desc char label='pl_desc' length=40 format=$40.;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at how the column looks in view, It says length is only 8. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 20:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Adding-a-column-to-a-SAS-Table/m-p/112707#M31179</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2013-06-19T20:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column to a SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Adding-a-column-to-a-SAS-Table/m-p/112708#M31180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are looking for CHAR(40) to create a 40 character variable. without a width specified the default for char is 8&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 21:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Adding-a-column-to-a-SAS-Table/m-p/112708#M31180</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-06-19T21:04:17Z</dc:date>
    </item>
  </channel>
</rss>

