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 (February 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 11 Feb 2002 08:55:12 +0000
Reply-To:   John Whittington <John.W@MEDISCIENCE.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   John Whittington <John.W@MEDISCIENCE.CO.UK>
Subject:   Re: Problems creating directories in batch mode
Comments:   To: Peter Baade <Peter_Baade@HEALTH.QLD.GOV.AU>
In-Reply-To:   <E16a9h5-00010i-00@relay1.netnames.net>
Content-Type:   text/plain; charset="us-ascii"; format=flowed

At 16:11 11/02/02 +1000, Peter Baade wrote:

>I am running a program in batch mode (SAS 8.2, Windows 95), in which I >generate multiple directories on my local c:\ drive using the following code > >data _null_; > command="md c:\cancer\data\mort&sitenumb"; > call system(command); > run; > >This was going to be used to generate up to 100 folders during the batch >run. However, it seems to use up system memory somehow, and towards the >end of the run I start getting error messages about not enough system >resources. If I run it for say, 20, everything works fine. Do I need to >clear the call system command somehow, or clear something else?

Peter, I have to say that I must be missing something, since I'm not sure how you're getting it to work at all!

On the incarnations of both Win95 and Win98 I have here, the 'MD' command does not work across directory paths. In other words, if I wanted to create, say, c:\cancer\data\mort100, if none of that path already existed, I would have to manufacture it step-by step:

cd \ md cancer cd cancer md data cd data md mort100

... and, even if c:\cancer\data\ already existed, I'd still have to do:

cd \cancer\data md mort100

... do you have some super version of Win95, I wonder, or what am I missing?

Kind Regards

John

---------------------------------------------------------------- Dr John Whittington, Voice: +44 (0) 1296 730225 Mediscience Services Fax: +44 (0) 1296 738893 Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk Buckingham MK18 4EL, UK mediscience@compuserve.com ----------------------------------------------------------------


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