<?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 to read multiple dataset from 1 library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766658#M242989</link>
    <description>Yes I want too read and create all the datasets at a time. &lt;BR /&gt;&lt;BR /&gt;where considtion I understood.</description>
    <pubDate>Wed, 08 Sep 2021 17:39:08 GMT</pubDate>
    <dc:creator>pdhokriya</dc:creator>
    <dc:date>2021-09-08T17:39:08Z</dc:date>
    <item>
      <title>How to read multiple dataset from 1 library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766582#M242961</link>
      <description>&lt;P&gt;How to read and manipulate multiple dataset from 1 library&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ex.&lt;/P&gt;
&lt;P&gt;- datasets in work library has 4datasets (one two three four)&lt;/P&gt;
&lt;P&gt;- want to add condition on each datasets ( like if stutus = "Y" then output ; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 14:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766582#M242961</guid>
      <dc:creator>pdhokriya</dc:creator>
      <dc:date>2021-09-08T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple dataset from 1 library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766589#M242964</link>
      <description>&lt;P&gt;What are you going to read the datasets with?&amp;nbsp; A procedure, like PROC MEANS?&amp;nbsp; A data step?&lt;/P&gt;
&lt;P&gt;If a data step do you need to read all of them together?&amp;nbsp; How do you want to combine them?&amp;nbsp; What output dataset(s) are you creating?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like you just want to use a WHERE statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where status = "Y" ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Sep 2021 14:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766589#M242964</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-09-08T14:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple dataset from 1 library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766617#M242977</link>
      <description>&lt;P&gt;When you want to do the same thing multiple times in SAS look at either BY group processing or macro with loops or call execute.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UCLA introductory tutorial on macro variables and macros&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/seminars/sas-macros-introduction/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Tutorial on converting a working program to a macro&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;This method is pretty robust and helps prevent errors and makes it much easier to debug your code. Obviously biased, because I wrote it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/Turning%20a%20program%20into%20a%20macro.md&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Examples of common macro usage&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/SAS-9-4-Macro-Language-Reference-Has-a-New-Appendix/ta-p/291716" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/SAS-9-4-Macro-Language-Reference-Has-a-New-Appendix/ta-p/291716&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 15:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766617#M242977</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-09-08T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple dataset from 1 library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766658#M242989</link>
      <description>Yes I want too read and create all the datasets at a time. &lt;BR /&gt;&lt;BR /&gt;where considtion I understood.</description>
      <pubDate>Wed, 08 Sep 2021 17:39:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766658#M242989</guid>
      <dc:creator>pdhokriya</dc:creator>
      <dc:date>2021-09-08T17:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple dataset from 1 library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766772#M243034</link>
      <description>&lt;P&gt;If I understand you correctly, you have X number of datasets, and after the task have the same X number of datasets, but with reduced observations because of the applied WHERE?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 06:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-multiple-dataset-from-1-library/m-p/766772#M243034</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-09T06:59:11Z</dc:date>
    </item>
  </channel>
</rss>

