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 (June 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: ash007 <RamsamyAshley@gmail.com>
In-Reply-To:  <161c37aa-8c15-436c-aac2-0eecb682a257@8g2000hse.googlegroups.com>
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.; 3547 run;

s=08JUN2008:12:31:36 s=08JUN2008:12:32:06

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: > Hello, > > I have a programm to launch a lot of time (this programm sends a mail > via SAS). > > so the programm is like : > > %mailauto(soma@yahoo.com); > %mailauto(poojafe@yahoo.com); > %mailauto(aumar0072000@gmail.com); > %mailauto(beu@gmail.com); > > how can I do to tell SAS to wait 20 seconds between 2 executions ? > > thanks for your help. > > ash_rmy. >


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