<?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: how many bytes? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740935#M231550</link>
    <description>&lt;P&gt;The number of bytes used by a character variable in the PDV will be the same as on disk. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;suggests PROC CONTENTS will give you the length in characters and that is usually is also the number of bytes.&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 20:34:06 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-05-12T20:34:06Z</dc:date>
    <item>
      <title>how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740674#M231414</link>
      <description>&lt;P&gt;How many bytes does the variable Q20 in the PDV?&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 00:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740674#M231414</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-12T00:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740685#M231415</link>
      <description>&lt;P&gt;Your question is incomplete so is impossible to answer. If&amp;nbsp;Q20 is a numeric variable then the default storage amount is 8 bytes. If it is character then it would depend on the number of characters being assigned to it. For example this statement - Q20 = 'ABC'; - will create the variable with a length of 3 characters or 3 bytes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 00:59:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740685#M231415</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-12T00:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740786#M231467</link>
      <description>&lt;P&gt;let suppose the Q20 is character variable .&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 12:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740786#M231467</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-12T12:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740839#M231492</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268447"&gt;@tianerhu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;let suppose the Q20 is character variable .&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Run Proc Contents on the data set, look at the LENGTH for the variable.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 15:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740839#M231492</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-12T15:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740935#M231550</link>
      <description>&lt;P&gt;The number of bytes used by a character variable in the PDV will be the same as on disk. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;suggests PROC CONTENTS will give you the length in characters and that is usually is also the number of bytes.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 20:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740935#M231550</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-12T20:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740974#M231562</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 21:59:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/740974#M231562</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-12T21:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/741010#M231587</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The number of bytes used by a character variable in the PDV will be the same as on disk. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;suggests PROC CONTENTS will give you the length in characters and that is usually is also the number of bytes.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PROC CONTENTS will give you the length in &lt;STRIKE&gt;characters&lt;/STRIKE&gt;&amp;nbsp;&lt;STRONG&gt;bytes&lt;/STRONG&gt; and that is usually is also the number of &lt;STRIKE&gt;bytes&lt;/STRIKE&gt; &lt;STRONG&gt;characters&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 03:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/741010#M231587</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-13T03:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/741477#M231783</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 15:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/741477#M231783</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-14T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: how many bytes?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/741580#M231824</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268447"&gt;@tianerhu&lt;/a&gt;&amp;nbsp; - If you are happy with the responses to your post please mark the best response as answering your question. &lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 22:16:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-bytes/m-p/741580#M231824</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-14T22:16:02Z</dc:date>
    </item>
  </channel>
</rss>

