From: Joe Matise on
Does this do what you need?

%sysget(SAS_EXECFILEPATH)

-Joe

On Fri, Mar 5, 2010 at 12:03 PM, js8765 <js8765(a)googlemail.com> wrote:

> Hi there,
>
> Is there any function that returns the name of the file currently open
> in the Enhanced Editor window?
>
> For anyone who's interested, what I'm trying to do is have a toolbar
> button that will modify the currently open file depending on its content.
>
> My idea was to do the following steps:
> 1. save the currently open file
> 2. read the saved file using an INFILE statement and carry out some
> modifications to it depending on the content.
> 3. save the modified version and reload it into the Enhanced Editor
>
> Therefore I would need the name of the file for the step 2.
>
> Maybe there is a neater way of doing this. All suggestions are welcome!
>
> Thanks in advance for any info!
>
> js
>
 | 
Pages: 1
Prev: Percent of total & Rank
Next: Quantile regression