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: email@example.com on behalf of James Muller
Sent: Tue 6/10/2008 10:09 PM
Cc: James Muller
Subject: catching process CPU and real time
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
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-