<?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 variable size of data sets in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550156#M74504</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to change the physical size of outputfiles?&lt;/P&gt;&lt;P&gt;I want to write a macro, which create testfiles with a determined size, &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;the content does not matter&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;bk&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 09:31:31 GMT</pubDate>
    <dc:creator>bk53</dc:creator>
    <dc:date>2019-04-11T09:31:31Z</dc:date>
    <item>
      <title>variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550156#M74504</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to change the physical size of outputfiles?&lt;/P&gt;&lt;P&gt;I want to write a macro, which create testfiles with a determined size, &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;the content does not matter&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;bk&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 09:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550156#M74504</guid>
      <dc:creator>bk53</dc:creator>
      <dc:date>2019-04-11T09:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550159#M74505</link>
      <description>&lt;P&gt;Could you please give more details, you want to know the size the datasets or change the size of the datasets&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550159#M74505</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-04-11T10:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550160#M74506</link>
      <description>&lt;P&gt;I want to Change the size of the datasets.&lt;/P&gt;&lt;P&gt;My main Problem is, that i want to create a macro witth the Parameter size and this macro create testfiles wich have this size, but i cant find a way to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;bk&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550160#M74506</guid>
      <dc:creator>bk53</dc:creator>
      <dc:date>2019-04-11T10:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550164#M74507</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270265"&gt;@bk53&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I want to Change the size of the datasets.&lt;/P&gt;
&lt;P&gt;My main Problem is, that i want to create a macro witth the Parameter size and this macro create testfiles wich have this size, but i cant find a way to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;bk&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Size depends on the variables you create, the number of observations in the dataset and some other things like compression, page-size ... I should be possible to calculate the number of observations and variables to get a defined size. But i can't see a use-case requiring such files.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:52:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550164#M74507</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-04-11T10:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550166#M74508</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I need the data to test Transfer between to different Systems.&lt;/P&gt;&lt;P&gt;Is there a formula to calculate the size?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;bk&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550166#M74508</guid>
      <dc:creator>bk53</dc:creator>
      <dc:date>2019-04-11T11:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550169#M74509</link>
      <description>&lt;P&gt;If it is about determining the size of the existing dataset in a library, we can know it by the below code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dataset sized will create a dataset where it will have name and dataset in library and size with other variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table sized as select * from dictionary.tables where libname='name';
quit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550169#M74509</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-04-11T11:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550177#M74510</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Here is an example what i need: a 3MB file, a 1GB file, a 912KB file.&lt;/P&gt;&lt;P&gt;I just want to create them, but the Content doesn't metter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;bk&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550177#M74510</guid>
      <dc:creator>bk53</dc:creator>
      <dc:date>2019-04-11T11:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550194#M74511</link>
      <description>You could always use a little trial and error.  For example:&lt;BR /&gt;&lt;BR /&gt;data test1;&lt;BR /&gt;retain var1-var99 0;&lt;BR /&gt;do var100=0 to &amp;amp;nrecs;&lt;BR /&gt;  output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;After a few tests you'll have a pretty good idea of how large &amp;amp;nrecs should be.</description>
      <pubDate>Thu, 11 Apr 2019 12:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550194#M74511</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-04-11T12:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550215#M74513</link>
      <description>&lt;P&gt;I used for nrecs values from 1 to 1000 and the size is every time 192kb.&lt;/P&gt;&lt;P&gt;Did i have to Change some Options?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 13:10:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550215#M74513</guid>
      <dc:creator>bk53</dc:creator>
      <dc:date>2019-04-11T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550217#M74514</link>
      <description>These values are way too small.  1 means create a data set with 2 records.  Start with a million and go from there.</description>
      <pubDate>Thu, 11 Apr 2019 13:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550217#M74514</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-04-11T13:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550256#M74523</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270265"&gt;@bk53&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;I need the data to test Transfer between to different Systems.&lt;/P&gt;
&lt;P&gt;Is there a formula to calculate the size?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;bk&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;First thing what are you using to measure "size"? Bytes, number of rows, number of characters, number of columns?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What type of file does this transfer need to use? Fixed column text files the size can be determined fairly easily but is dependent on how many characters per line.&lt;/P&gt;
&lt;P&gt;Delimited text&amp;nbsp;files such as CSV or Tab delimited would likely be not too difficult to create a fixed size but again content per line is important.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Binary files such as XLSX or structured files like XLM not so much. The XLSX can have a lot of overhead style information and the text format of XLM repeating variable names and types means that the actual names of variables affects total file size.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 14:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550256#M74523</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-11T14:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: variable size of data sets</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550502#M74537</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270265"&gt;@bk53&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;I need the data to test Transfer between to different Systems.&lt;/P&gt;
&lt;P&gt;Is there a formula to calculate the size?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;bk&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Have you seen &lt;A href="http://support.sas.com/kb/51/659.html" target="_blank"&gt;http://support.sas.com/kb/51/659.html&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 05:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-size-of-data-sets/m-p/550502#M74537</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-04-12T05:36:27Z</dc:date>
    </item>
  </channel>
</rss>

