I am running an event notification report 3x per week. I would like to automate the process as much as possible. I have a "current data" library and a "previous data" library. After generating the report, I would like to copy data from the "current data" library into the "previous data" library. Can I do so without changing the "date modified" of the datasets? I have tried both Proc Copy and Proc Datasets.
Second question: The current data is downloaded from FTP (Ipswitch WS_FTP Professional 2006) as a zip file, unzipped, and placed into my "current data" library. Is there a way to automate this within SAS?
You can copy the data without changing the date modified of the datasets. You can automate a batch file to run through windows task scheduler to xcopy the files on a regular basis. START > RUN > cmd > ENTER. type: xcopy / help . This will give you an idea of how to use xcopy.
Once you understand how xcopy works you can test it by writing the command in a .txt file and then saving the file with a .bat extension. Just double click on the .bat file to run the script.