Date: Mon, 26 Jun 2000 18:35:39 GMT
Reply-To: "John M. Wildenthal" <jmwildenthal@MY-DEJA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "John M. Wildenthal" <jmwildenthal@MY-DEJA.COM>
Organization: Deja.com - Before you buy.
Subject: Re: How long a SAS program took to run
In article <5EBF4C59CC50D311832200A0C9771429040CEF6E@NTEXCH01>,
> Does anyone have SAS code that will record how long a program took to
> run (in hours -- using DATE and TIME) and reports the information in
> the log?
* your code ;
tdiff = DATETIME() - &stpstart ;
thr = tdiff / 3600 ;
PUT "Step used " thr " hours";
Sent via Deja.com http://www.deja.com/
Before you buy.