<?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: Repeating a process for each dataset identified in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313308#M68051</link>
    <description>&lt;P&gt;The solution for this would look like:&lt;/P&gt;
&lt;P&gt;1. Make a macro, as you've indicated that takes a single parameter - dataset name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use call execute to call macro for each dataset.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It it sounds like you're having issues with step 1?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2016 00:02:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-11-22T00:02:18Z</dc:date>
    <item>
      <title>Repeating a process for each dataset identified</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313304#M68050</link>
      <description>&lt;P&gt;Firstly thanks for all answers. iam a new student of sas programming.and want to ask a problem. I have a dataset named as 'tables' and contents 4 rows:&lt;BR /&gt;Tables&lt;BR /&gt;-----------&lt;BR /&gt;Orion&lt;BR /&gt;Clinics&lt;BR /&gt;Datas&lt;BR /&gt;Other&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;I want to do a loop. Firstly read dataset name "orion" then go to work.orion dataset and calculate something...etc. Then go to second dataset "clinics" and again calculate sth. And goes on like this. i couldnt do that. If dataset names used to be like table1 table2 table3 i can do it with macros, %do i=1 %to n.... But i couldnt succeeded with it different dataset names.thanks again&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 23:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313304#M68050</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2016-11-21T23:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Repeating a process for each dataset identified</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313308#M68051</link>
      <description>&lt;P&gt;The solution for this would look like:&lt;/P&gt;
&lt;P&gt;1. Make a macro, as you've indicated that takes a single parameter - dataset name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use call execute to call macro for each dataset.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It it sounds like you're having issues with step 1?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 00:02:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313308#M68051</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-22T00:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Repeating a process for each dataset identified</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313314#M68052</link>
      <description>&lt;P&gt;Since you would know how to do this if the data sets were named differently, here's a link that might help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sastraining/2015/01/30/sas-authors-tip-getting-the-macro-language-to-perform-a-do-loop-over-a-list-of-values/" target="_blank"&gt;http://blogs.sas.com/content/sastraining/2015/01/30/sas-authors-tip-getting-the-macro-language-to-perform-a-do-loop-over-a-list-of-values/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 00:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313314#M68052</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-11-22T00:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Repeating a process for each dataset identified</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313557#M68153</link>
      <description>Dear Reeza i work in a bank. And i have 60 different datasets each one has 120 columns and 16 gb.i want to get some info from each one. Datasets has unique transactions.I dont want to write 60 different macro. Dear astounding i didnt understand from blog page. Can you send me a code which is runned. Thanks</description>
      <pubDate>Tue, 22 Nov 2016 18:40:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313557#M68153</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2016-11-22T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Repeating a process for each dataset identified</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313572#M68160</link>
      <description>&lt;P&gt;No, I don't have any secrets above and beyond what was in that paper.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You had indicated that you knew how accomplish this task if the data set names were table1, table2, table3, etc.&amp;nbsp; This paper just shows&amp;nbsp; you have to do the same thing if the table names don't have a pattern to them.&amp;nbsp; Are you stuck on how to get a list of the data set names?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 19:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313572#M68160</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-11-22T19:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Repeating a process for each dataset identified</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313579#M68165</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/114436"&gt;@Yavuz&lt;/a&gt; wrote:&lt;BR /&gt;Can you send me a code which is runned.&amp;nbsp;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. You haven't specified what you need to get working at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a basic tutorial on Macro's but does a good job of going through what you likely need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/seminars/sas_macros_introduction/" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/seminars/sas_macros_introduction/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're looking for more resources I highly suggest searching lexjansen.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 20:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeating-a-process-for-each-dataset-identified/m-p/313579#M68165</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-22T20:15:46Z</dc:date>
    </item>
  </channel>
</rss>

