<?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: length statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800427#M314864</link>
    <description>&lt;P&gt;The $20 applies to both of the variables preceding it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not exactly a format (which is usually intended to tell SAS how to display a value) - as a LENGTH statement, it tells SAS to store the data in mob and in DQ_6 as strings of length 20 characters.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Mar 2022 05:31:32 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2022-03-06T05:31:32Z</dc:date>
    <item>
      <title>length statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800422#M314859</link>
      <description>&lt;PRE&gt;length mob DQ_6 $20.;&lt;/PRE&gt;&lt;P&gt;Does this mean putting both mob and DQ_6 into format of length 20 ?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 05:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800422#M314859</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-03-06T05:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: length statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800425#M314862</link>
      <description>&lt;P&gt;Length will limit the number of characters stored. If another format is not defined those variables will default to a $20 display format. Character variables typically default to the length. Numeric variables default to BEST, usually Best12. and has nothing to do with the length.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Format assignment can override that default format at any point.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 05:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800425#M314862</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-06T05:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: length statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800427#M314864</link>
      <description>&lt;P&gt;The $20 applies to both of the variables preceding it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not exactly a format (which is usually intended to tell SAS how to display a value) - as a LENGTH statement, it tells SAS to store the data in mob and in DQ_6 as strings of length 20 characters.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 05:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/length-statement/m-p/800427#M314864</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2022-03-06T05:31:32Z</dc:date>
    </item>
  </channel>
</rss>

