<?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: why is SAS married to number 256? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600167#M18308</link>
    <description>&lt;P&gt;8 bytes are enough for variable names. After all, nobody will need more than 640K RAM.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 20:11:43 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-10-29T20:11:43Z</dc:date>
    <item>
      <title>why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600105#M18301</link>
      <description>&lt;P&gt;256 seems to be a classic number that seems to have the distinction of inseparable component of SAS software. I am intrigued to find out why. Can anybody please lend their time in explaining with some references? or even point me to some documentation that solely and clearly explains this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance,&amp;nbsp;In a lot of SAS options such limits, length, default , labels-data-set/variable, 256 being the max number of tables/views in Proc sql join, Hash function SHA256 and perhaps many more 256 may surface.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/216503"&gt;@all&lt;/a&gt; the wise sages, your participation in thread would particularly be helpful. Thank you*1e6!&lt;/P&gt;
&lt;P&gt;The closest reference I got:&lt;/P&gt;
&lt;H2&gt;&lt;SPAN class="mw-headline"&gt;In computing&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;One&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Octet (computing)" href="https://en.wikipedia.org/wiki/Octet_(computing)" target="_blank" rel="noopener"&gt;octet&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(in most cases one&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Byte" href="https://en.wikipedia.org/wiki/Byte" target="_blank" rel="noopener"&gt;byte&lt;/A&gt;) is equal to eight&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Bit" href="https://en.wikipedia.org/wiki/Bit" target="_blank" rel="noopener"&gt;bits&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and has 2&lt;SUP&gt;8&lt;/SUP&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or 256 possible values, counting from 0 to 255. The number 256 often appears in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Computer" href="https://en.wikipedia.org/wiki/Computer" target="_blank" rel="noopener"&gt;computer&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="mw-redirect" title="Software application" href="https://en.wikipedia.org/wiki/Software_application" target="_blank" rel="noopener"&gt;applications&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(especially on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="8-bit" href="https://en.wikipedia.org/wiki/8-bit" target="_blank" rel="noopener"&gt;8-bit&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;systems) such as:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The typical number of different values in each&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Channel (digital image)" href="https://en.wikipedia.org/wiki/Channel_(digital_image)" target="_blank" rel="noopener"&gt;color channel&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of a digital color image (256 values for red, 256 values for green, and 256 values for blue used for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="RGB color model" href="https://en.wikipedia.org/wiki/RGB_color_model#Truecolor" target="_blank" rel="noopener"&gt;24-bit color&lt;/A&gt;) (see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Color space" href="https://en.wikipedia.org/wiki/Color_space" target="_blank" rel="noopener"&gt;color space&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Web colors" href="https://en.wikipedia.org/wiki/Web_colors" target="_blank" rel="noopener"&gt;Web colors&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;The number of colors available in a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="mw-redirect" title="Graphics Interchange Format" href="https://en.wikipedia.org/wiki/Graphics_Interchange_Format" target="_blank" rel="noopener"&gt;GIF&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="8-bit color" href="https://en.wikipedia.org/wiki/8-bit_color" target="_blank" rel="noopener"&gt;256-color&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(8-bit)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Bitmap" href="https://en.wikipedia.org/wiki/Bitmap" target="_blank" rel="noopener"&gt;bitmap&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;The number of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Character (computing)" href="https://en.wikipedia.org/wiki/Character_(computing)" target="_blank" rel="noopener"&gt;characters&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in extended&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="ASCII" href="https://en.wikipedia.org/wiki/ASCII" target="_blank" rel="noopener"&gt;ASCII&lt;/A&gt;&lt;SUP id="cite_ref-2" class="reference"&gt;&lt;A href="https://en.wikipedia.org/wiki/256_(number)#cite_note-2" target="_blank" rel="noopener"&gt;[2]&lt;/A&gt;&lt;/SUP&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="ISO/IEC 8859-1" href="https://en.wikipedia.org/wiki/ISO/IEC_8859-1" target="_blank" rel="noopener"&gt;Latin-1&lt;/A&gt;.&lt;SUP id="cite_ref-3" class="reference"&gt;&lt;A href="https://en.wikipedia.org/wiki/256_(number)#cite_note-3" target="_blank" rel="noopener"&gt;[3]&lt;/A&gt;&lt;/SUP&gt;&lt;/LI&gt;
&lt;LI&gt;The number of columns available in a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Microsoft Excel" href="https://en.wikipedia.org/wiki/Microsoft_Excel" target="_blank" rel="noopener"&gt;Microsoft Excel&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;worksheet until Excel 2007.&lt;SUP id="cite_ref-4" class="reference"&gt;&lt;A href="https://en.wikipedia.org/wiki/256_(number)#cite_note-4" target="_blank" rel="noopener"&gt;[4]&lt;/A&gt;&lt;/SUP&gt;&lt;/LI&gt;
&lt;LI&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Pac-Man" href="https://en.wikipedia.org/wiki/Pac-Man#Level_256" target="_blank" rel="noopener"&gt;split-screen level in Pac-Man&lt;/A&gt;, which results from the use of a single byte to store the internal level counter.&lt;/LI&gt;
&lt;LI&gt;A 256-bit integer can represent up to 1.1579209e+77 values.&lt;SUP id="cite_ref-5" class="reference"&gt;&lt;A href="https://en.wikipedia.org/wiki/256_(number)#cite_note-5" target="_blank" rel="noopener"&gt;[5]&lt;/A&gt;&lt;/SUP&gt;&lt;/LI&gt;
&lt;LI&gt;Number of bits in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="SHA-2" href="https://en.wikipedia.org/wiki/SHA-2" target="_blank" rel="noopener"&gt;SHA-256&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cryptographic hash.&lt;/LI&gt;
&lt;LI&gt;The branding number of nVidia's&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="GeForce 256" href="https://en.wikipedia.org/wiki/GeForce_256" target="_blank" rel="noopener"&gt;GeForce 256&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Oct 2019 16:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600105#M18301</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-10-29T16:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600108#M18302</link>
      <description>&lt;P&gt;Very simple. 256 = 2 ** 8, so 256 is the number of characteristics a byte can have (or, in different words, a byte can hold 256 numbers, from 0 to 255). The number of bits in a byte is also a power of 2, so 256 = 2 ** 2 ** 3.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 16:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600108#M18302</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-29T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600110#M18304</link>
      <description>Yup, SAS has been around from 1970 when 8 bit was a bigger thing and for backwards compatibility a lot of these settings remain.</description>
      <pubDate>Tue, 29 Oct 2019 16:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600110#M18304</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-29T16:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600122#M18305</link>
      <description>&lt;P&gt;I wonder why the default string length in some cases is 200, not 256.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I remember that once SAS had an informal poll, which would we rather have, longer variable names or longer libref names.&amp;nbsp; The consensus was longer variable names, and that's what we got.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The length of libref names probably comes from MVS (now z/OS, something else before MVS), which has a maximum DDname length of 8.&amp;nbsp; The original member name length of 8 probably comes from the maximum length of MVS partitioned data set members (at one time, SAS data sets were stored as PDS members, not in a single big file).&amp;nbsp; I don't know where the length of 8 for variable names came from.&amp;nbsp; Maybe they went for uniformity, or though that no one would ever possibly need longer names than that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 17:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600122#M18305</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2019-10-29T17:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600135#M18306</link>
      <description>&lt;P&gt;I'm sure you're correct about the DDNAME and PDS member name length limitations. I remember SAS being on the mainframe A LONG TIME before they ported it to other architectures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The variable name limit is funny. Much of SAS is based on PL/I, and it had the COBOL feature of long variable names. FORTRAN at that point was limited to 6 characters. I'm mystified!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 18:20:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600135#M18306</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-10-29T18:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600167#M18308</link>
      <description>&lt;P&gt;8 bytes are enough for variable names. After all, nobody will need more than 640K RAM.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 20:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600167#M18308</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-29T20:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600200#M18310</link>
      <description>&lt;P&gt;640K? Are you kidding?!? When I started, I couldn't submit a job bigger than 256K on our mainframe, one of the biggest in Canada. And don't talk to me about those wimpy personal computers...they hadn't been released yet!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 22:30:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600200#M18310</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-10-29T22:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600257#M18312</link>
      <description>&lt;P&gt;The first computer I programmed on was a CDC 6600, also equipped with 256K of "words", a word containing 60 bits, allowing real storage with a 48 bit mantissa, or 10 characters (characters were encoded with just 6 bits, so only capitals available).&lt;/P&gt;
&lt;P&gt;Those 256K were delivered with a crane and needed a reinforced floor (magnet cores).&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 05:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600257#M18312</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-30T05:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: why is SAS married to number 256?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600261#M18313</link>
      <description>&lt;P&gt;You were lucky. For my first computing efforts I had to count on my fingers only, and that was with one hand tied behind my back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trouble is young people today never believe you...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies to Monty Python.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 05:39:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/why-is-SAS-married-to-number-256/m-p/600261#M18313</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-10-30T05:39:51Z</dc:date>
    </item>
  </channel>
</rss>

