Date: Thu, 23 Apr 2009 11:45:15 +0200
Reply-To: Rivo Ramamonjy <rivo.ramamonjy@TRICAST-GROUP.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Rivo Ramamonjy <rivo.ramamonjy@TRICAST-GROUP.COM>
Subject: Re: Sleep function
In-Reply-To: A<910189.97637.qm@web59603.mail.ac4.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
I think on Unix, the argument is in milliseconds.
(In seconds in window)
Please confirm this by trying to increase the Unix argument in you test code (I have no Unix at hand)
Regards,
Rivo.
-----Message d'origine-----
De : SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] De la part de Kevin Y
Envoyé : jeudi 23 avril 2009 10:46
À : SAS-L@LISTSERV.UGA.EDU
Objet : Sleep function
The sleep function does not work on Unix (Sun Server). The code works in PC SAS. Wondering why?
UNIX SAS:
1 data _null_;
2 x=sleep(10);
3 run;
NOTE: DATA statement used (Total process time):
real time 0.06 seconds
cpu time 0.05 seconds
PC SAS:
1 data _null_;
2 x=sleep(10);
3 run;
NOTE: DATA statement used (Total process time):
real time 11.04 seconds
cpu time 0.03 seconds