|
Charles,
Here is a simple macro, you may use it as a sleep function:
73 %macro sleep(sec=);
74 data _null_;
75 t1=time();
76 do until(t2-t1 >= &sec);
77 t2=time();
78 end;
79 run;
80 %mend;
81
82
83 %sleep(sec=20);
NOTE: DATA statement used:
real time 20.00 seconds
cpu time 19.62 seconds
Not sure how accurate it is.
Kind regards,
Ya Huang
-----Original Message-----
From: Charles Patridge [mailto:Charles_S_Patridge@PRODIGY.NET]
Sent: Tuesday, October 29, 2002 10:56 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Sleep Function for NON WINDOWS OS
Hi Michael,
Apparently WAIT= is not a valid option for the Libname Statement under
OpenVMS in both V6.12 and V8.2, so I guess I will have to use Jack's
suggestion of
x wait=00:01; /*** wait for 1 minute in OpenVMS ***/
Thanks for the suggestion,
Charles Patridge
|