Date: Tue, 29 Apr 2008 15:34:40 -0400
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject: Re: SAS Log and Interactive mode
Content-Type: text/plain; charset=us-ascii
> From: joeyfoley
> On Apr 29, 8:18 am, joeyfoley <joey.fo...@gmail.com> wrote:
> > I have some SAS log questions.
> > I have people using SAS in interactive mode in a Windows desktop
> > environment.
> > I would like to keep a copy of their logs available to
> > them, and also keep a copy for auditing purposes.
> > Is there a way to do this, so that they get a log and I get an audit
> > log?
> > Thanks.
> UPDATE 1:
> Okay, I found the Altlog setting for the SAS config file.
> Is there a simple way to add a time stamp? I'll keep looking.
hex16 is the shortest;
if you want a natural, i.e. readable date-time stamp,
but you will have to convert the special characters
note that this trick is allocating the value of the -next- altlog
OT: The LogParse suite has a routine which writes a header record to the
which contains the actual JobTime-Start
here is the sas url for fullstimer which contains the logparse macro
and PassInfo macro which writes a log header
2. In the first paragraph of text (in the middle column),
click on download this ZIP file to download the logparse.zip ZIP file to
3. Expand the logparse.zip ZIP file to extract its contents. That will
create a folder containing three SAS
Macro programs and a readme.txt file.
Eventually you will arrive at %including a program in either of:
to overwrite the altlog value
you get one log per (batch) job, or user session
Ron Fehd the altlog
or macro maven CDC Atlanta GA USA RJF2 at cdc dot gov