<?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: Doe sthe SIZEKMG. format have limits? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883925#M349202</link>
    <description>&lt;P&gt;Generally, the first step I would recommend in situations like this is to check the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/da/vdmmlcdc/8.1/ds2ref/p0hgnx5nq1zjqsn1eny09ofue7bj.htm" target="_self"&gt;SIZEKMG FORMAT&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2023 10:30:39 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-07-07T10:30:39Z</dc:date>
    <item>
      <title>Does the SIZEKMG. format have limits?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883923#M349201</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;I would like to use the SIZEKMG. format (quite obviously to show file sizes) but I seem to encounter a limitation: when the value becomes "bigger" (example attached) the shown value (both when opening the dataset and when generating a report) is made of * only.&lt;/P&gt;
&lt;P&gt;Any hint?&lt;/P&gt;
&lt;P&gt;Many thanks in advance&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 format size sizekmg22.;
 input size;
cards4;
5744099328
1785724928
28157399040
1741762461696
17674880794624
;;;;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SIZEKMG.jpg" style="width: 160px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85646iAA1E450B0DB0FEC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="SIZEKMG.jpg" alt="SIZEKMG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 13:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883923#M349201</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-07-07T13:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Doe sthe SIZEKMG. format have limits?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883925#M349202</link>
      <description>&lt;P&gt;Generally, the first step I would recommend in situations like this is to check the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/da/vdmmlcdc/8.1/ds2ref/p0hgnx5nq1zjqsn1eny09ofue7bj.htm" target="_self"&gt;SIZEKMG FORMAT&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 10:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883925#M349202</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-07-07T10:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Doe sthe SIZEKMG. format have limits?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883932#M349206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/418866"&gt;@Anne_A&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran into the same problem, so I made this custom format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=library;
	picture sizekmgt (round default=8)
	low - 1023 = '0009 bt'
	1024 - 1048575 = '009.9 KB' (mult = %sysevalf(10/1024))
	1048576 - 1073741823 = '009.9 MB' (mult = %sysevalf(10/1048576))
	1073741824 - 1099511627775 = '009.9 GB' (mult = %sysevalf(10/1073741824))
	1099511627776 - high = '009.9 TB' (mult = %sysevalf(10/1099511627776))
	;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jul 2023 11:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883932#M349206</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2023-07-07T11:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Doe sthe SIZEKMG. format have limits?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883939#M349210</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Actually I had checked the documentation. Your comment seems to imply I should find relevant info in there, but even after looking again I don't see any. Is there anything I should have noticed?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 12:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883939#M349210</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-07-07T12:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Doe sthe SIZEKMG. format have limits?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883940#M349211</link>
      <description>&lt;P&gt;Awesome! Thank you so much &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12887"&gt;@ErikLund_Jensen&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 12:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-the-SIZEKMG-format-have-limits/m-p/883940#M349211</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-07-07T12:18:16Z</dc:date>
    </item>
  </channel>
</rss>

