Date: Fri, 8 Oct 1999 14:32:40 +0200
Reply-To: pdostie@GROUPAMA-CCAMA.TM.FR
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Pierre Dostie <pdostie@GROUPAMA-CCAMA.TM.FR>
Subject: Using %SYSEXEC
Content-type: text/plain; charset=us-ascii
Hi, I have to build a directory on a UNIX system directly from a SAS program. I
use %SYSEXEC to do that. The problem is that I can't build more than one level
at a time. I tried this but it didn't work:
%macro x;
%sysexec mkdir /don/Rsi/psn/dostie/lib1;
%sysexec mkdir /don/Rsi/psn/dostie/lib1/lib2;
%mend x;
%x;
The first %SYSEXEC works but not the second. Why??
Thanks
Pierre Dostie
|