<?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 read SAS file from folder when every time the file name is different but content is same. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174320#M33483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All, I have one Zipped folder which have SAS dataset but we cannot unzipped it using ODS Package as the zip file is password protected. So I am manually extracting it in folder. Now the next task is to read that file. I can do it manually by using SET statement but want to know if there is an possibility that we can create a macro variable for that file and execute in our program (so I wont have to update the dataset name always!!). DATA OUT.XXXX; SET IN.YYYY; RUN; DATA OUT.XXXX; SET IN.&amp;amp;y; RUN; thank you in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 06:06:08 GMT</pubDate>
    <dc:creator>P_Sharma</dc:creator>
    <dc:date>2014-10-07T06:06:08Z</dc:date>
    <item>
      <title>How to read SAS file from folder when every time the file name is different but content is same.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174320#M33483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All, I have one Zipped folder which have SAS dataset but we cannot unzipped it using ODS Package as the zip file is password protected. So I am manually extracting it in folder. Now the next task is to read that file. I can do it manually by using SET statement but want to know if there is an possibility that we can create a macro variable for that file and execute in our program (so I wont have to update the dataset name always!!). DATA OUT.XXXX; SET IN.YYYY; RUN; DATA OUT.XXXX; SET IN.&amp;amp;y; RUN; thank you in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 06:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174320#M33483</guid>
      <dc:creator>P_Sharma</dc:creator>
      <dc:date>2014-10-07T06:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to read SAS file from folder when every time the file name is different but content is same.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174321#M33484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course you can!&lt;/P&gt;&lt;P&gt;Question are, how do you wish to set the macro variable value?&lt;/P&gt;&lt;P&gt;You always need to to do a Libname. Then use sashelp.vmember to find out the member name(s). Assign it to a macro variable, or call a macro with member name(s) as a parameter. If you have multiple data sets use call execute to call the macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 06:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174321#M33484</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-10-07T06:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to read SAS file from folder when every time the file name is different but content is same.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174322#M33485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 06:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-SAS-file-from-folder-when-every-time-the-file-name/m-p/174322#M33485</guid>
      <dc:creator>P_Sharma</dc:creator>
      <dc:date>2014-10-07T06:53:12Z</dc:date>
    </item>
  </channel>
</rss>

