Date: Wed, 27 Aug 2008 08:28:51 -0400
Reply-To: Samuel Croker <samuel.croker@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Samuel Croker <samuel.croker@GMAIL.COM>
Subject: Re: time taken for entire SAS job
In-Reply-To: <4e829fd30808270137l13657c4al1fbbf13dd42f1a1c@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Here is a quick and dirty method that can be done many different
ways... Maybe not suitable for reporting but great for
troubleshooting.
%let starttime1=%sysfunc(datetime());
/* sas code */
%let endtime1=%sysfunc(datetime());
%let elaptime=%sysevalf(&endtime1-&starttime1);
/* format...*/
%let Felaptime=%sysfunc(putn(&elaptime,time8));
%put Total time=&felaptime;
Sam
On Wed, Aug 27, 2008 at 4:37 AM, Anindya Mozumdar
<anindya.lugbang@gmail.com> wrote:
> I believe that the ARM macros (built into SAS) allow you to such
> stuff, but I have never used them. Google is your friend.
>
> On Wed, Aug 27, 2008 at 1:49 PM, shashi <shashi2707@gmail.com> wrote:
>> Hi,
>> Here I have a query. I want to know the time taken by entire code for
>> execution in a particular session.
>> For this I used one option 'fullstimer'. But nowhere in the log the
>> complete time for the entire job is not shown. Only individual code
>> execution timings are shown. Is there any other to have this? Could
>> anybody suggest on this?
>>
>> Thanks,
>> Shashi
>>
>
--
Samuel T. Croker
Lexington, SC
|