Date: Sun, 8 Jun 2008 12:34:03 -0500
Reply-To: "data _null_," <datanull@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "data _null_," <datanull@GMAIL.COM>
Subject: Re: wait between 2 execution of macro programm
Content-Type: text/plain; charset=ISO-8859-1
You can sleep.
3540 data _null_;
3541 s = datetime();
3542 put s=;
3543 rc = sleep(30);
3544 s = datetime();
3545 put s=;
3546 format s datetime20.;
However you may want to look a SYSTASK statement. I would allow you
to submit a "command" and wait until it is done. The command can be
"any" OS command including SAS.
On 6/8/08, ash007 <RamsamyAshley@gmail.com> wrote:
> I have a programm to launch a lot of time (this programm sends a mail
> via SAS).
> so the programm is like :
> how can I do to tell SAS to wait 20 seconds between 2 executions ?
> thanks for your help.