<?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: The max amont of macro variables can be defined in a proc sql in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110763#M30718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still at the loss of what do you want to achieve. If you want to get the value of, say 1000th row of variable 'values', in your original plot, you would use macro variable value1000, you could simply do something like the following:&lt;/P&gt;&lt;P&gt; data _null_;&lt;/P&gt;&lt;P&gt;n=1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set one point=n;&lt;/P&gt;&lt;P&gt;call symputx ('value1000', values);&lt;/P&gt;&lt;P&gt;stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 17:15:08 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2012-05-15T17:15:08Z</dc:date>
    <item>
      <title>The max amont of macro variables can be defined in a proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110758#M30713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the max amont of macro variables can be defined in proc sql ?&amp;nbsp; and any option can change the default value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If dataset One has millons of obs, could I do this?"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;select values into :value1 - :value1000000000..?&lt;/P&gt;&lt;P&gt;from One&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 17:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110758#M30713</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-05-10T17:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: The max amont of macro variables can be defined in a proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110759#M30714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not aware if there is a SAS limit. I think you will most likely hit your hardware limit first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 17:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110759#M30714</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-05-10T17:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: The max amont of macro variables can be defined in a proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110760#M30715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. Generally, the symbol tables are contained in memory, but once those limits are reached the values are written to disk, so your limits are constrained by your operating environment and not by SAS. However, just because you could doesn't mean that you should. I find that there are more efficient methods of processing data without creating several million macro variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 18:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110760#M30715</guid>
      <dc:creator>FloydNevseta</dc:creator>
      <dc:date>2012-05-10T18:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: The max amont of macro variables can be defined in a proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110761#M30716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The option that controls the size of your macro space is MSYMTABMAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouold seriously re-evaluate any logic as to why I was thinking I needed a billion or more macro variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 19:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110761#M30716</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-05-10T19:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: The max amont of macro variables can be defined in a proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110762#M30717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SAS_Bigot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you like to introduce some efficient methods of processing data without creating several million macro variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 16:54:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110762#M30717</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-05-15T16:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: The max amont of macro variables can be defined in a proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110763#M30718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still at the loss of what do you want to achieve. If you want to get the value of, say 1000th row of variable 'values', in your original plot, you would use macro variable value1000, you could simply do something like the following:&lt;/P&gt;&lt;P&gt; data _null_;&lt;/P&gt;&lt;P&gt;n=1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set one point=n;&lt;/P&gt;&lt;P&gt;call symputx ('value1000', values);&lt;/P&gt;&lt;P&gt;stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 17:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-max-amont-of-macro-variables-can-be-defined-in-a-proc-sql/m-p/110763#M30718</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-05-15T17:15:08Z</dc:date>
    </item>
  </channel>
</rss>

