<?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 Reg:Data import and change the file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40264#M10421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can use filename 's pipe function ,then you can search all the xls under some one directory .&lt;/P&gt;&lt;P&gt;Check the OS command about it , dir for win and ls for Unix, they are all has this ability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 09:43:13 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2011-08-04T09:43:13Z</dc:date>
    <item>
      <title>Reg:Data import and change the file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40262#M10419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every day in this path i will be getting the data "/sas/ saslev1/data/10/may10/may06" this is the path for one day tomoroow the data will be in new folfer as may07 like this for every month the month folder will chage and every day the data folder will be changed&lt;/P&gt;&lt;P&gt;ex: "/sas/ saslev1/data/10/may10/may06"&amp;nbsp; for may month and may06 date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "/sas/ saslev1/data/10/may10/may07"&amp;nbsp; for may month and may07 date&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;. like this the data is placed in the respective floders daily how can i automat and run for each day i having data for 3 years and the data is in excel which is havinf data_may06 ending has the date and data is common how can i do this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 09:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40262#M10419</guid>
      <dc:creator>R_Win</dc:creator>
      <dc:date>2011-08-02T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Reg:Data import and change the file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40263#M10420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can accomplish it like I did, below, or wrap everything into a single %let statement with a bunch of %sysfunc calls:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let date_wanted=6may2010;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; year=year("&amp;amp;date_wanted."d);&lt;/P&gt;&lt;P&gt;&amp;nbsp; month=month("&amp;amp;date_wanted."d);&lt;/P&gt;&lt;P&gt;&amp;nbsp; day=day("&amp;amp;date_wanted."d);&lt;/P&gt;&lt;P&gt;&amp;nbsp; wmonth=put("&amp;amp;date_wanted"d,worddate3.);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; date_need=catt("sas/saslev1/data/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; substr(strip(year),3,2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; wmonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; substr(strip(year),3,2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "/",&lt;/P&gt;&lt;P&gt;&amp;nbsp; wmonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; put(day,z2.) );&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput("path",put(date_need,$32.));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%put &amp;amp;path.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 13:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40263#M10420</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-02T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Reg:Data import and change the file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40264#M10421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can use filename 's pipe function ,then you can search all the xls under some one directory .&lt;/P&gt;&lt;P&gt;Check the OS command about it , dir for win and ls for Unix, they are all has this ability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 09:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Data-import-and-change-the-file/m-p/40264#M10421</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-08-04T09:43:13Z</dc:date>
    </item>
  </channel>
</rss>

