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 (May 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 23 May 2000 16:13:43 GMT
Reply-To:     Dale McLerran <dmclerra@FHCRC.ORG>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Dale McLerran <dmclerra@FHCRC.ORG>
Organization: Fred Hutchinson Cancer Research Center
Subject:      Re: Clarification: How to find out the name of the Macro executi

Dennis,

The brief answer is "No, there is no function or variable that contains the information that you require." That said, see my post yesterday which contains a couple of hacks which would allow you to programmatically return the name of the executing macro. They do not hard code the macro name in a macro variable.

Dale

-------------------------------------- Dale McLerran Fred Hutchinson Cancer Research Center Seattle, WA 98109 mailto:dmclerra@fhcrc.org ph: (206) 667-2926 fax: (206) 667-5977 --------------------------------------

Dennis.Diskin.B@BAYER.COM (Dennis Diskin) wrote in <0056750018743952000002L522*@MHS>:

>Thanks all but, I guess I was not clear enough. My question is: >Can I find out the name of the macro from within the macro code without >hardcoding it into the program? >Ie. is there a system macro variable/function or sashelp view that might >have this info ? > > >> Is there any way to find out the name of the currently executing macro >> or where >> the macro was called from ? >> >> Dennis Diskin


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