<?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 ways to create 100 variables at time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-many-ways-to-create-100-variables-at-a-time/m-p/607202#M176438</link>
    <description>&lt;P&gt;I don't know what the upper limit is for number of sort keys for PROC SORT, but I'm sure it can accommodate 100.&amp;nbsp; I'm also sure it would be slow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tested your data step code?&amp;nbsp; It has a STOP in the middle of a do loop, which otherwise would produce 100 observations of 100 variables, each defaulting to a missing value.&amp;nbsp; As it is you will produce a data set of zero observations, with 100 variables.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2019 05:33:09 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2019-11-26T05:33:09Z</dc:date>
    <item>
      <title>how many ways to create 100 variables at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-ways-to-create-100-variables-at-a-time/m-p/607197#M176435</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data t ;
array v(100) x1-x100;
do i=1 to 100	;
stop;&lt;BR /&gt;output;&lt;BR /&gt;drop i;
end;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How many ways to create 100 variables at a time in a single data step&lt;/P&gt;&lt;P&gt;and how many variables we can sort&amp;nbsp; is there any limit to sort&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 09:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-ways-to-create-100-variables-at-a-time/m-p/607197#M176435</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-11-26T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: how many ways to create 100 variables at time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-many-ways-to-create-100-variables-at-a-time/m-p/607202#M176438</link>
      <description>&lt;P&gt;I don't know what the upper limit is for number of sort keys for PROC SORT, but I'm sure it can accommodate 100.&amp;nbsp; I'm also sure it would be slow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tested your data step code?&amp;nbsp; It has a STOP in the middle of a do loop, which otherwise would produce 100 observations of 100 variables, each defaulting to a missing value.&amp;nbsp; As it is you will produce a data set of zero observations, with 100 variables.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 05:33:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-many-ways-to-create-100-variables-at-a-time/m-p/607202#M176438</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2019-11-26T05:33:09Z</dc:date>
    </item>
  </channel>
</rss>

