08-02-2011 05:45 AM
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
ex: "/sas/ saslev1/data/10/may10/may06" for may month and may06 date
"/sas/ saslev1/data/10/may10/may07" for may month and may07 date
. 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....
08-02-2011 09:37 AM
You can accomplish it like I did, below, or wrap everything into a single %let statement with a bunch of %sysfunc calls:
08-04-2011 05:43 AM
If you can use filename 's pipe function ,then you can search all the xls under some one directory .
Check the OS command about it , dir for win and ls for Unix, they are all has this ability.