|
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
----------------------------------------------------------------
|