LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 5 Mar 2008 08:44:13 -0800
Reply-To:   vicks <vikaslbishnoi@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   vicks <vikaslbishnoi@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Automate running SAS code and creation of folders/directories at regular interval
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

Hey,

Is there any method/way through which you can instruct in unix to create a folder structure at a regular interval.

Ex:

I have a directory at the following path: /home/user/wkly/ Now the directory wkly has subdirectories with the naming convention of 20080211 20080218 20080225 20080231 20080303 <yyyymmdd> ..

which again have two directories under them, namely 'code' and 'data'.

There are sas programs under the "code" directory which are to be run every week, monday. The output datasets are created under the "data" directory. Also the directories for the week should be created appropriately, the codes copied from the previous week's directory and the parameters changed, before the codes are run.

Can any one let me know how this can be automated?


Back to: Top of message | Previous page | Main SAS-L page