<?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 Differences between SAS BASE 9.2 and 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265960#M52362</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my base exam tomorrow. But, I have still some questions.&lt;/P&gt;&lt;P&gt;1. Look at&lt;/P&gt;&lt;P&gt;PROC FORMAT ;&lt;/P&gt;&lt;P&gt;VALUE valuename&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;What is the valuename format default length? At 9.2 it's 8 byte. At 9.4 it's 31 or 32 bytes. If I get exam question then I have to answer 31 or 32 bytes?&lt;/P&gt;&lt;P&gt;2. Look at default informat length at 9.4: Is it still 8 bytes for numeric variable and 8 bytes for character variables?&lt;/P&gt;&lt;P&gt;3. Look at target variable at 9.4: The target variable by tranwrd has the length 200 bytes as default?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2016 07:45:30 GMT</pubDate>
    <dc:creator>cons</dc:creator>
    <dc:date>2016-04-25T07:45:30Z</dc:date>
    <item>
      <title>Differences between SAS BASE 9.2 and 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265960#M52362</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have my base exam tomorrow. But, I have still some questions.&lt;/P&gt;&lt;P&gt;1. Look at&lt;/P&gt;&lt;P&gt;PROC FORMAT ;&lt;/P&gt;&lt;P&gt;VALUE valuename&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;What is the valuename format default length? At 9.2 it's 8 byte. At 9.4 it's 31 or 32 bytes. If I get exam question then I have to answer 31 or 32 bytes?&lt;/P&gt;&lt;P&gt;2. Look at default informat length at 9.4: Is it still 8 bytes for numeric variable and 8 bytes for character variables?&lt;/P&gt;&lt;P&gt;3. Look at target variable at 9.4: The target variable by tranwrd has the length 200 bytes as default?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 07:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265960#M52362</guid>
      <dc:creator>cons</dc:creator>
      <dc:date>2016-04-25T07:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SAS BASE 9.2 and 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265963#M52363</link>
      <description>&lt;P&gt;Sorry, your questions are confusing. &amp;nbsp;I wouldn't have expected that in a SAS exam, they would ask you about byte storage, that is outside the scope of a SAS question. &amp;nbsp;Do you mean default character length, then that is 8.&lt;/P&gt;
&lt;P&gt;For tranwrd, yes, you are correct per the documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#p0pgemqcslm9uen1tvr5gcrusgrw.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#p0pgemqcslm9uen1tvr5gcrusgrw.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 08:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265963#M52363</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-25T08:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SAS BASE 9.2 and 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265965#M52365</link>
      <description>With the LENGTH statement you define the Byte storage. There are questions about the length by variables at base exam. I would like to know the thing with valuename. Thank you so much for your help.</description>
      <pubDate>Mon, 25 Apr 2016 08:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265965#M52365</guid>
      <dc:creator>cons</dc:creator>
      <dc:date>2016-04-25T08:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SAS BASE 9.2 and 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265984#M52371</link>
      <description>&lt;P&gt;Have never come across a need to know this, however I would say Length assigns the length in character spaces, i.e. length $4 means four characters. &amp;nbsp;If those characters are exactly a byte, then yes it is the same, but I wouldn't have thought knowing how SAS assigns data into the underlying file structure is outside the bounds of a SAS test.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 09:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/265984#M52371</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-25T09:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SAS BASE 9.2 and 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/266000#M52376</link>
      <description>$4 means 4 bytes the same with numeric variables. i.e. age 4 is 4 bytes</description>
      <pubDate>Mon, 25 Apr 2016 10:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/266000#M52376</guid>
      <dc:creator>cons</dc:creator>
      <dc:date>2016-04-25T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SAS BASE 9.2 and 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/266008#M52377</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76801"&gt;@cons﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;to the remaining questions in your initial post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The default length of format VALUENAME depends on the labels in the format definition. Typically (if there are no references to other formats or functions using the [...] notation), it will be the length of the longest label.&lt;BR /&gt;&lt;BR /&gt;Your "31 or 32" sound like the maximum lengths of format &lt;EM&gt;names&lt;/EM&gt; (31 for character formats, not counting the leading dollar sign, and 32 for numeric formats), which were increased in SAS 9 (not only SAS 9.2) compared to SAS 8, where they were 7 and 8 respectively.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;To my knowledge, "SAS uses &lt;EM&gt;w.d&lt;/EM&gt; as the default numeric informat and $&lt;EM&gt;w&lt;/EM&gt;. as the default character informat" (see&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cdl//en/lestmtsref/68024/HTML/default/p164164hob450kn1agkpcosya669.htm" target="_blank"&gt;documentation of INFORMAT statement&lt;/A&gt;), but these informats don't have default lengths (unlike many other informats).&lt;BR /&gt;&lt;BR /&gt;In particular, there is no general default informat length of "8 bytes" and this has not changed between SAS 9.2 and SAS 9.4. Please don't confuse this with the default &lt;EM&gt;length&lt;/EM&gt; of numeric or character &lt;EM&gt;variables&lt;/EM&gt;.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 25 Apr 2016 11:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Differences-between-SAS-BASE-9-2-and-9-4/m-p/266008#M52377</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-25T11:16:00Z</dc:date>
    </item>
  </channel>
</rss>

