<?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: setting a list from a greater table in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210563#M4917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you've got a name list in table&lt;STRONG&gt; myList&lt;/STRONG&gt; and your big table is called &lt;STRONG&gt;myTable&lt;/STRONG&gt;, you could do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%macro getNames(beginDate,endDate);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sql;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;create table want as&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select * from myTable &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; name in (select name from myList) and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; date between "&amp;amp;beginDate"d and "&amp;amp;endDate"d;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%mend getNames;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%getNames(01JAN2014,31DEC2014);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(untested)&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jun 2015 02:52:17 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2015-06-20T02:52:17Z</dc:date>
    <item>
      <title>setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210559#M4913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose that I have a big table containing several variables. One of the variables is NAME and another is DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is to create a program, perhaps a macro, such that I can select a list of names conditional on date limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the intuition of the code is something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data list;&lt;/P&gt;&lt;P&gt;set table;&lt;/P&gt;&lt;P&gt;if name = (list) and&amp;nbsp;&amp;nbsp; date1 =&amp;lt; date =&amp;lt; date2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 01:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210559#M4913</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2015-06-20T01:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210560#M4914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are the date variables determined? Is date1/date2 constants for all names or do they vary by name And come from a different table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This type of question is better answered with SQL than a data step. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 02:19:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210560#M4914</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-06-20T02:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210561#M4915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date1 and date2 can be something like 21jan2009, and not all names might have any given date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 02:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210561#M4915</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2015-06-20T02:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210562#M4916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this untested code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select distinct name into :list1 - :list&amp;amp;sysmaxlong from have;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;list1 &amp;amp;sqlobs;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro test;&lt;/P&gt;&lt;P&gt;%do i=1 to &amp;amp;sqlobs;&lt;/P&gt;&lt;P&gt;data &amp;amp;&amp;amp;list&amp;amp;i;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;if name="&amp;amp;&amp;amp;list&amp;amp;i" and&amp;nbsp;&amp;nbsp; date1 =&amp;lt; date =&amp;lt; date2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 02:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210562#M4916</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-06-20T02:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210563#M4917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you've got a name list in table&lt;STRONG&gt; myList&lt;/STRONG&gt; and your big table is called &lt;STRONG&gt;myTable&lt;/STRONG&gt;, you could do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%macro getNames(beginDate,endDate);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sql;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;create table want as&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select * from myTable &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; name in (select name from myList) and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; date between "&amp;amp;beginDate"d and "&amp;amp;endDate"d;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%mend getNames;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%getNames(01JAN2014,31DEC2014);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(untested)&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 02:52:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210563#M4917</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-06-20T02:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210564#M4918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PG ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your code worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible i would like to know hoe to do the following modification:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of '' where name in (...)" is it possible to do ''where name in &amp;amp;list'' because I want to create a code which will make a &amp;amp;list that might contain hundreds of names like this I don't have to input them manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 03:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210564#M4918</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2015-06-20T03:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210565#M4919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The macro variable would need to contain a string like: 'name1', 'name2', ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you can create and populate such a macro variable then what holds you back to create a table instead and use it in the sub-select as proposed by &lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;? Using a table has the advantage that you're not at risk to hit the maximum length of a macro variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 07:18:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210565#M4919</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-06-20T07:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210566#M4920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;myList is a second table with the list of names you want to subset on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise its change the where condition to name in (&amp;amp;LIST) if you want that method. However &amp;amp;List has to be less than 64K chars and it would take an extra step to generate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;%macro getNames(beginDate,endDate, List);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;proc sql;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;create table want as&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;select * from myTable &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;where &lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-style: inherit;"&gt;name in (&amp;amp;List) &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-style: inherit;"&gt;and&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; date between "&amp;amp;beginDate"d and "&amp;amp;endDate"d;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;%mend getNames;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;%getNames(01JAN2014,31DEC2014);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 18:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210566#M4920</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-06-20T18:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210567#M4921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified the code a bit to accomodate the &lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt; logic by including the two date parameters. Could you please test this and let me know if it works for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select distinct name into :list1 - :list&amp;amp;sysmaxlong from have;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;list1 &amp;amp;sqlobs;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro test(&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;beginDate,&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;endDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;%do i=1 to &amp;amp;sqlobs;&lt;/P&gt;&lt;P&gt;data &amp;amp;&amp;amp;list&amp;amp;i;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;if name="&amp;amp;&amp;amp;list&amp;amp;i" and&amp;nbsp;&amp;nbsp; "&amp;amp;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;beginDate&lt;/STRONG&gt;&lt;/SPAN&gt;"d =&amp;lt; date =&amp;lt; "&amp;amp;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;endDate&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;"d;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%test(&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;01JAN2014,31DEC2014&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 01:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210567#M4921</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-06-22T01:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210568#M4922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put your list of values in a dataset and use where in (select var from yourlistofvalues).&amp;nbsp; If you put your list in a macro variable you will run out of space and your code will be unnecessarily complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Jagadishkatam, would your code not create one dataset per item in the list?&amp;nbsp; I don't think this is the intent ( plus you would create &amp;amp;sqlobs. * datasteps).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 10:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210568#M4922</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-06-22T10:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: setting a list from a greater table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210569#M4923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A __default_attr="814511" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this will be the right code for @ilikesas purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*This sql step will create a macro variable with a list of names in quotes separated by the blank space for use in the next code which creates the dataset*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select distinct quote(name) into :list separated by ' ' from have;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;list &amp;amp;sqlobs;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro test(beginDate,endDate);&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;if name in ("&amp;amp;list") and&amp;nbsp;&amp;nbsp; "&amp;amp;beginDate"d =&amp;lt; date =&amp;lt; "&amp;amp;endDate"d;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%test(01JAN2014,31DEC2014);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 14:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/setting-a-list-from-a-greater-table/m-p/210569#M4923</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-06-22T14:48:09Z</dc:date>
    </item>
  </channel>
</rss>

