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 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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>, wendy.watson@COVANCE.COM wrote: > 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?

untested code:

DATA _NULL_; CALL SYMPUT("stpstart",PUT(DATETIME(),20.)); RUN;

* your code ;

DATA _NULL_; tdiff = DATETIME() - &stpstart ; thr = tdiff / 3600 ; PUT "Step used " thr " hours"; RUN;

Sent via Deja.com http://www.deja.com/ Before you buy.


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