This is my Daily Activity i need to finalize the Macro automation in Base sas.
1. Every day i received txt files (filename ending with yesterdays date - Ex:- xxxxxx_17jun2014.txt)
2 I dont know how many file are client given but file name should be same and yesterdays date and number of the file
( Ex:- xxxxxx_17jun2014_1.txt , xxxxxx_17jun2014_2.txt ...... xxxxxx_17jun2014_n.txt )
3. I need to import all available files at a time run some Analysis.
4. Important thing is "Want to schedule the project and that is running for each and every 10 mints"
A. I dont know when they will upload, My code need to check the files are available.
B. If Files are available and file names matching with yesterdays date then start the process.
C. Once output file is stored into same folder need to stop the activity.
Note:- I already developed the entire code in SAS EG4.0 and Schedule the projects, but now Iam working on SAS9.3.
Thanks in Advance.
SAS EG calls the Windows "Scheduled Tasks" (in the control panel) to do it's scheduling.
You can do the same thing manually for SAS 9.3 if that is installed locally. Get your batch process working, encapsulate it in a .bat file, and schedule the .bat file.
If you are using a remote SAS server, there is typically a scheduling tool on the server (in *nix, it's called 'cron').
Hi!
Another option would be the windows task scheduler ..
http://support.sas.com/resources/papers/proceedings11/005-2011.pdf
Thank u all, I got it.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.