LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 8 Nov 2010 19:22:39 +0000
Reply-To:     "Fehd, Ronald J. (CDC/OCOO/ITSO)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/OCOO/ITSO)" <rjf2@CDC.GOV>
Subject:      Re: SAS automatic variable or log option for source of batch
              submitted program.
In-Reply-To:  <117789.91768.qm@web50906.mail.re2.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

> From: Brian Wallace > Sent: Monday, November 08, 2010 12:02 PM > Subject: SAS automatic variable or log option for source of batch > submitted program. > > Another question. Any assistance of direction to further resources > would be appreciated. > > Is there some sort of log option that can display the source of a batch > submitted program in the log when run on a PC or laptop? Meaning, when > you look in the log it shows you which specific PC/laptop ID/name batch > submitted the program. > > Dumb question, I know. > > Thank you very much for your time, > > Brian Wallace

This is a non-trivial problem.

Solution is on this sas community wiki page:

Saving sas logs

This article is a minimal description of the files used to save

copy of program log using option altlog product usage log using options rtrace and rtraceloc

http://www.sascommunity.org/wiki/Saving_sas_logs

example, notes written to log:

NOTE: InitStmt processing beginning, file is C:\temp\SAS-logs\save-sas-logs.sas PASS-INFO FullStimer=FULLSTIMER PASS-INFO Host =RJF2-179107 PASS-INFO DateTime =41D6A2AB4BA9BA5E PASS-INFO WorkId =180 PASS-INFO UserId =RJF2 PASS-INFO UserNmbr =40200 PASS-INFO SysScpL =XP_PRO PASS-INFO SysVlong =9.01.01M3P020206 PASS-INFO MemSize =0 PASS-INFO SortSize =67108864 PASS-INFO SumSize =0 PASS-INFO SysIn =C:\Temp\SAS-logs\InitStmt\save-sas-logs-Test.sas # PASS-INFO SysParm = # NOTE: InitStmt processing completed.

Note: This is my kludge of work done by SAS Institute for the LogParse macro and written up by Mike Raithel.

see the references in the above page.

Ron Fehd the details or information maven


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