| Date: | Thu, 7 Feb 2008 19:39:13 -0800 |
| Reply-To: | BruceBrad <BruceBrad@INAME.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | BruceBrad <BruceBrad@INAME.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: How to email the contents of the program window |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
I'm having problems getting this to work. I've tried the following
(9.1.3, windows xp).
1. Saved the contents of the enhanced editor to a file
2. Entered the X command in the command box.
3a. Entered 'set' to show the parameter list. Unfortunately, the two
parameters are blank.
3b. Alternatively, entered
%put %sysget(sas_execfilename)
into the command box. Again, a blank string appears to be sent to
the log output.
On Feb 8, 8:00 am, RandyHerbi...@WESTAT.COM (Randy Herbison) wrote:
> "Can my program find out the file name and location of a file in the
> program window?"
>
> If you are using the Enhanced Editor, you can use the %SYSGET macro
> function to retrieve the value(s) of the SAS_EXECFILENAME and/or
> SAS_EXECFILEPATH Windows environment variable(s).
>
> The code must be used in the editor window that opens or saves the
> program. It will not work after the editor window has been cleared.
>
> -Randy
|