Date: Mon, 14 Mar 2011 08:07:14 -0400
Reply-To: Arthur Tabachneck <art297@ROGERS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@ROGERS.COM>
Subject: Re: Chance to Make SAS-L History: Did You Know That...
Content-Type: text/plain; charset=ISO-8859-1
Clark,
We simply can't start a Monday off on such a note. So I have no choice but
to mention a SAS Wakeup function that you likely didn't know about:
http://www.scribd.com/doc/18270529/219-HO-SAS-ACBICC-073102
And, to save you from having to read the documentation: "the SAS Wake-Up
Function Wake-up causes SAS module (N51) to monitor vehicle ride height and
adjust as needed dependent on vehicle load changes."
Art
--------
On Mon, 14 Mar 2011 18:34:19 +0800, Clark An <kuhasu@126.COM> wrote:
>Yes,we know that~
>
>
>
>At 2011-03-14 18:30:19��"Michael Raithel" <michaelraithel@WESTAT.COM>
wrote:
>
>>Dear SAS-L-ers,
>>
>>Did you know that...
>>
>>...you can use the WAKEUP function to put a SAS program to sleep and
specify when it is to resume executing?
>>
>>The WAKEUP function directs SAS to put your program to sleep for the
duration that you specify within the function. When that duration has
passed, your SAS program wakes up and continues to execute, starting with
the statements found directly after the statement containing the WAKEUP
function.
>>
>>You can specify a date-time value, a time (in hours), or the number of
seconds before/after midnight for SAS to wait until waking up and running
the rest of your program. Here is an example of each:
>>
>>data _null_;
>>dozeuntil = wakeup("04JUL2011:12:00:00"dt);
>>put "The 4th of July picnic is just starting.";
>>run;
>>
>>data _null_;
>>dozeuntil = wakeup("22:30:00"t);
>>put "Time for the Letterman show!";
>>run;
>>
>>data _null_;
>>dozeuntil = wakeup(120);
>>put "It is 2-hours past midnight!";
>>run;
>>
>>
>>data _null_;
>>dozeuntil = wakeup(-120);
>>put "It is 2-hours until midnight!";
>>run;
>>
>>There are more nuances to the WAKEUP function than can be covered in a
simple tip, including limits on the durations that you can specify. Check
the following link to get more information on the WAKEUP function::
>>
>>http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/vie
wer.htm#win-func-
wakeup.htm<http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/de
fault/viewer.htm>
>>
>>
>>Best of luck in all of your SAS endeavors!
>>
>>
>>I hope that this suggestion proves helpful now, and in the future!
>>
>>Of course, all of these opinions and insights are my own, and do not
reflect those of my organization or my associates. All SAS code and/or
methodologies specified in this posting are for illustrative purposes only
and no warranty is stated or implied as to their accuracy or applicability.
People deciding to use information in this posting do so at their own risk.
>>
>>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>Michael A. Raithel
>>"The man who wrote the book on performance"
>>E-mail: MichaelRaithel@westat.com
>>
>>Author: Tuning SAS Applications in the MVS Environment
>>
>>Author: Tuning SAS Applications in the OS/390 and z/OS Environments,
Second Edition
>>
>>http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172
>>
>>Author: The Complete Guide to SAS Indexes
>>
>>http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409
>>
>>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>They're here! - Carol Ann in Poltergeist
>>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|