<?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: Create the length for variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159368#M263155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, even if I changed the length of variable a to 3, error still exists. By the way, if the data set is created with error, whether should we call the data set is created or not created? Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 20:32:29 GMT</pubDate>
    <dc:creator>chouchou</dc:creator>
    <dc:date>2014-08-13T20:32:29Z</dc:date>
    <item>
      <title>Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159360#M263147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data temp;&lt;/P&gt;&lt;P&gt; length a 1 b 3 x;&lt;/P&gt;&lt;P&gt; infile 'file reference';&lt;/P&gt;&lt;P&gt; input a b x;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result?&lt;/P&gt;&lt;P&gt;A.The data set TEMP is created, but variable X is not created.&lt;/P&gt;&lt;P&gt;B. The data set TEMP is created and variable X has a length of 8.&lt;/P&gt;&lt;P&gt;C.The data set TEMP is not created because variable A has an valid length.&lt;/P&gt;&lt;P&gt;D. The data set TEMP is not created because variable A and B have invalid lengths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer is C. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't understand the answer at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also run the code, the result is that the data set TEMP is created with 0 observation, the length of variable a b x are 8 3 8.&lt;/P&gt;&lt;P&gt;SO the correct answer is B? Can anyone please kindly confirm the answer with me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, why the length of a cannot be set as 1? Thank you guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 16:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159360#M263147</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-13T16:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159361#M263148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;length a 1 b 3 x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement above creates three numeric variables, a, b and x.&amp;nbsp; A cannot be 1 because the minimum length for a numeric variable is 3. &lt;/P&gt;&lt;P&gt;The statement below creates one character variable and two numeric variables.&amp;nbsp; The default length of a numeric variable is 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;length a $ 1 b 3 x;&amp;nbsp;&amp;nbsp; (equivalent to: length a $ 1 b 3 x 8;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 17:02:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159361#M263148</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-08-13T17:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159362#M263149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Errors out for me. &lt;/P&gt;&lt;P&gt;data temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;length a 1 b 3 x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input a b x;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;2 5 8&lt;/P&gt;&lt;P&gt;3 4 5&lt;/P&gt;&lt;P&gt;13 2 3&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;246&amp;nbsp; data temp;&lt;/P&gt;&lt;P&gt;247&lt;/P&gt;&lt;P&gt;248&amp;nbsp; length a 1 b 3 x;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 352&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 352&lt;/P&gt;&lt;P&gt;ERROR 352-185: The length of numeric variables is 3-8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Expecting a numeric constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;249&lt;/P&gt;&lt;P&gt;250&amp;nbsp; input a b x;&lt;/P&gt;&lt;P&gt;251&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.TEMP may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 3 variables.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;255&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;256&lt;/P&gt;&lt;P&gt;257&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 17:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159362#M263149</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-13T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159363#M263150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you by chance have a typo for answer C and should read "A has an invalid length"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 19:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159363#M263150</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-08-13T19:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159364#M263151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sas is using floating point for numbers. Remember the slider.&lt;/P&gt;&lt;P&gt;By that avoid the misperception on counting the digits you see. They are meaningless for the numeric length. The minimum storage used in bytes is often 3 sometimes 2 never 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 19:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159364#M263151</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-13T19:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159365#M263152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiwillis, how do you know it is "a" that should be the character variable? not "b" or "X"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 20:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159365#M263152</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-13T20:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159366#M263153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if I changed the length of variable a to 3, error still exists. By the way, if the data set is created with error, whether should we call the data set is created or not created? Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12&amp;nbsp;&amp;nbsp; data temp;&lt;BR /&gt;13&amp;nbsp;&amp;nbsp; length a 3 b 3 x;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 352&lt;BR /&gt;ERROR 22-322: Expecting a numeric constant.&lt;/P&gt;&lt;P&gt;ERROR 352-185: The length of numeric variables is 3-8.&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp; input a b x;&lt;BR /&gt;15&amp;nbsp;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.TEMP may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 3 variables.&lt;BR /&gt;WARNING: Data set WORK.TEMP was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;19&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;20&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 20:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159366#M263153</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-13T20:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159367#M263154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 20:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159367#M263154</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-13T20:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159368#M263155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, even if I changed the length of variable a to 3, error still exists. By the way, if the data set is created with error, whether should we call the data set is created or not created? Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 20:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159368#M263155</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-13T20:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159369#M263156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you copied the code from the question properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition of X to the LENGTH statement without a length following it is also an error and so none of answers is 100% correct.&lt;/P&gt;&lt;P&gt;But don't nit-pick the answers.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C is still the best answer as it is the first error that will cause the data step to not run.&amp;nbsp; &lt;/P&gt;&lt;P&gt;A can be eliminated because just the inclusion of X in the INPUT statement will cause it to be created.&lt;/P&gt;&lt;P&gt;D can be eliminated because there is nothing wrong with length specified for B.&lt;/P&gt;&lt;P&gt;The intent of the step was to read the raw data and make a dataset.&amp;nbsp; The raw data will not be read.&amp;nbsp; Also note that if a dataset named TEMP already existed then it will not be replaced because of the error. So B can be eliminated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 22:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159369#M263156</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-08-13T22:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159370#M263157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chouchou, The length statement is defining: variable(s) length variable(s) length&amp;nbsp;&amp;nbsp;&amp;nbsp; etc. Those are always two words and the length can be numeric or string (indicated by$). &lt;BR /&gt;The errors are often displayed with a&amp;nbsp; letter _&amp;nbsp; at the position the parser says it is wrong. With a monospace font (old hollerith cards) this will be aligned. In your post here it is a variable font. That _22 is at the position of the semicolon ;&lt;/P&gt;&lt;P&gt;It is telling then numeric constant after the x is missing.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 05:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159370#M263157</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-14T05:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159371#M263158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick reply. However I still don't understand why errors come out even if I changed the length of variable a to 3?&lt;/P&gt;&lt;P&gt;Can you please elaborate it for me, I would be greatly appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 15:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159371#M263158</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-16T15:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create the length for variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159372#M263159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;&lt;EM&gt;chouchou , &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;I copied your log but only changed the character type to "courier new"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808000; font-family: courier new,courier;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;see where the error occurs not at the variable a but&lt;/SPAN&gt; after x &lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;12&amp;nbsp;&amp;nbsp; data temp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;13&amp;nbsp;&amp;nbsp; length a 3 b 3 x&lt;SPAN style="color: #ff6600;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 352&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ERROR 22-322: Expecting a numeric constant.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ERROR 352-185: The length of numeric variables is 3-8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #339966; font-family: courier new,courier;"&gt;This should give no errors. It is not useful caused by floating point properties.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; length a 3 b 3 x 5 ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 18:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-the-length-for-variables/m-p/159372#M263159</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-16T18:26:17Z</dc:date>
    </item>
  </channel>
</rss>

