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 (December 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 11 Dec 2007 10:47:53 +0500
Reply-To:     Winston Groenewald <winston.groenewald@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Winston Groenewald <winston.groenewald@GMAIL.COM>
Subject:      Re: recover "MINUTES EXECUTION TIME"
In-Reply-To:  <403593359CA56C4CAE1F8F4F00DCFE7D0A154240@MAILBE2.westat.com>
Content-Type: text/plain; charset=ISO-8859-1

ash007,

This gives you the execution time in minutes:

%let EXEC_START=%sysfunc(datetime()); %*====== Your program =======; %let EXEC_END=%sysfunc(datetime()); %let EXEC_TIME=%sysevalf(%sysfunc(sum(&EXEC_END,-&EXEC_START))/60); %put &EXEC_TIME;

Winston

On Dec 10, 2007 7:42 PM, Michael Raithel <michaelraithel@westat.com> wrote:

> Dear SAS-L-ers, > > ash007 posted the following: > > > i m working with mvs, i m launching some job on it and I want > > to recover the MINUTES EXECUTION TIME on SAS. Is it possible > > to do it because this information is on the log in MVS. > > > ash007, hey, I didn't know that they issued the double-O numbers to SAS > programmers, too! I guess that gives you a license to kill... SAS batch > jobs:-) > > Along with the good advice that you already got, you may want to check > out a source of much, much more detailed performance information about > your SAS jobs. See my amazing, seminal, groundbreaking SUGI 30 paper: > Programmatically Measure SAS(r) Application Performance On Any Computer > Platform With the New LOGPARSE SAS Macro: > > http://www2.sas.com/proceedings/sugi30/219-30.pdf > > ash007, best of luck in measuring events in the life of your SAS batch > jobs on the big iron! > > 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 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ...shaken and not stirred - James Bond > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >


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