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 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 2 Dec 2004 09:32:37 -0800
Reply-To:     "Terjeson, Mark" <TERJEM@DSHS.WA.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Terjeson, Mark" <TERJEM@DSHS.WA.GOV>
Subject:      Re: Saving the log from the Display Manager
Comments: To: Ed Heaton <EdHeaton@WESTAT.COM>
Content-Type: text/plain

Hi Ed,

You could add either of these syntaxes to your DMKEYS

dm log 'file c:\temp\myjob1.log replace'

Proc printto log='c:\temp\myjob2.log';run;

(did I overlook the "name of the program"? no, in previous versions that wasn't so easy, in v9+ instead of looking for it, I'll defer to see if someone knows a new trick off the top of their head...)

Hope this is helpful, Mark Terjeson Reporting, Analysis, and Procurement Section Office of Medicaid Systems & Data Division of Audit & Information Systems Department of Social and Health Services State of Washington mailto:terjem@dshs.wa.gov

-----Original Message----- From: Ed Heaton [mailto:EdHeaton@WESTAT.COM] Sent: Thursday, December 02, 2004 9:07 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Saving the log from the Display Manager

Good morning, all;

I want to program a Macro button to save the log from an interactive SAS session as the name of the file in the Program Editor with LOG for the extension rather than SAS -- Somewhat like would be the case if I were running batch SAS. Can anybody help? (No, I haven't searched the archives!)

Ed

Edward Heaton, SAS Senior Systems Analyst, Westat (An Employee-Owned Research Corporation), 1600 Research Boulevard, RW-3541, Rockville, MD 20850-3195 Voice: (301) 610-4818 Fax: (301) 610-5128 mailto:EdHeaton@Westat.com http://www.Westat.com


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