http://www.sascommunity.org/wiki/Using_sysfunc_with_file_functions_to_overwrite_altlog
see Michael Raithel's most excellent paper on using the LogParse macro
to read program logs.
Ron Fehd the more-than-you-wanted-to-know-from-your-(alt)log maven
________________________________
From: owner-sas-l@listserv.uga.edu on behalf of James Muller
Sent: Tue 6/10/2008 10:09 PM
To: SAS-L@LISTSERV.UGA.EDU
Cc: James Muller
Subject: catching process CPU and real time
Hi list,
I'm looking around for automatically-set macros taking the values of the CPU
time and real time of the last process (data step, etc). Nothing found so
far. I may be looking past it, but am getting the sense of having exhausted
most possibilities...
I know I could set things up in a bunch of different ways to pull this
information out of a log, etc, but by a wide margin the best solution is to
handle it all internally in a SAS program, without requiring any files
written to disk along the way.
Failing an automatically-set real time variable, do we have access to a
high-resolution calendar time variable direct in SAS? Keeping with the
internal thing I'd rather avoid calling external programs to obtain this.
So, any thoughts? All appreciated-
Cheers
James