<?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 How to create a table to list macro N by using proc sql? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370497#M275776</link>
    <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the&amp;nbsp;example program to create a Nn&amp;nbsp;macro by proc sql.&amp;nbsp;&amp;nbsp; Is there a way to create a table to list all of the Nn?&amp;nbsp; I could find the N1-N500 from 'Results' individually.&amp;nbsp; However, I would like to review the table from SAS work library.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;informat&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; name &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$80.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; name &amp;amp;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;cards&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;John If_True kary&lt;/P&gt;&lt;P&gt;John If_True Mary&lt;/P&gt;&lt;P&gt;John If_True kary&lt;/P&gt;&lt;P&gt;John If_True kary&lt;/P&gt;&lt;P&gt;Tom If_Not Carol&lt;/P&gt;&lt;P&gt;Tom If_Not Carol&lt;/P&gt;&lt;P&gt;Tom If_Not Carol&lt;/P&gt;&lt;P&gt;Joe If_True Jane&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;Joe If_False Paul&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;Paul If_False Jane&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;sum(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;case&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;when&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; find (name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'If_True'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; index(Name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'kary'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;else&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;into&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;: N1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;sum(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;case&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;when&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; find (name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'If_False'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; index(Name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Paul'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;else&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;into&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;: N2 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;n1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;n2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I would like the table showing the result is &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;N1 3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;N2 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;or&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;N1&amp;nbsp; N2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;3&amp;nbsp;&amp;nbsp; 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 12:37:29 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2017-06-26T12:37:29Z</dc:date>
    <item>
      <title>How to create a table to list macro N by using proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370497#M275776</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the&amp;nbsp;example program to create a Nn&amp;nbsp;macro by proc sql.&amp;nbsp;&amp;nbsp; Is there a way to create a table to list all of the Nn?&amp;nbsp; I could find the N1-N500 from 'Results' individually.&amp;nbsp; However, I would like to review the table from SAS work library.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;informat&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; name &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$80.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; name &amp;amp;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;cards&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;John If_True kary&lt;/P&gt;&lt;P&gt;John If_True Mary&lt;/P&gt;&lt;P&gt;John If_True kary&lt;/P&gt;&lt;P&gt;John If_True kary&lt;/P&gt;&lt;P&gt;Tom If_Not Carol&lt;/P&gt;&lt;P&gt;Tom If_Not Carol&lt;/P&gt;&lt;P&gt;Tom If_Not Carol&lt;/P&gt;&lt;P&gt;Joe If_True Jane&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;Joe If_False Paul&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;Paul If_False Jane&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;Joe If_False Jane&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;sum(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;case&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;when&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; find (name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'If_True'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; index(Name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'kary'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;else&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;into&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;: N1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;sum(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;case&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;when&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; find (name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'If_False'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; index(Name,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Paul'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;else&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;into&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;: N2 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FROM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;n1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;n2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I would like the table showing the result is &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;N1 3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;N2 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;or&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;N1&amp;nbsp; N2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;3&amp;nbsp;&amp;nbsp; 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370497#M275776</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2017-06-26T12:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table to list macro N by using proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370499#M275777</link>
      <description>&lt;P&gt;Can you please show us ( a portion of) data set HAVE?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you please show us (a portion of) the end result you would like to have?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why, if you want the end result to be a table, are you putting the values into MACRO variables? You can't easily make a table of macro variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370499#M275777</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-06-26T12:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table to list macro N by using proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370503#M275778</link>
      <description>&lt;P&gt;Please follow the guidance at the create a new question page, just below Post. &amp;nbsp;Post example test data in the form of a datastep, what the output should look like. &amp;nbsp;Also, please refer to the other questions you have posted here - almost none of them have been marked Correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a list you use into with the separated by clause, think I provided this before. &amp;nbsp;However with test data and what you want to do there is other solutions - again as I provided before.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370503#M275778</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-26T12:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table to list macro N by using proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370504#M275779</link>
      <description>&lt;P&gt;If you want a list of results, store it in a dataset, not in macro variables. Datasets are WAY easier to handle.&lt;/P&gt;
&lt;P&gt;Since what you want is just a count for certain strings, you should first create a table of said strings.&lt;/P&gt;
&lt;P&gt;Depending on the substrings you're looking for (eg if they are always single words), the whole exercise could end up being a datastep, a proc freq and possibly a join (if you want to assign special "labels" for each string).&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370504#M275779</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-26T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table to list macro N by using proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370604#M275780</link>
      <description>&lt;P&gt;The %put function has options to list the macro variables in a current scope:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%put _user_;&lt;/P&gt;
&lt;P&gt;will display ALL user defined variables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Putting much data into macro variables is often a path to madness.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 14:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370604#M275780</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-26T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a table to list macro N by using proc sql?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370617#M275781</link>
      <description>&lt;P&gt;See SASHELP.VMACRO table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 14:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-a-table-to-list-macro-N-by-using-proc-sql/m-p/370617#M275781</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-26T14:44:12Z</dc:date>
    </item>
  </channel>
</rss>

