The SAS Output Delivery System and reporting techniques

How to display full path name of opened .sas file in enhanced editor?

Reply
Contributor
Posts: 43

How to display full path name of opened .sas file in enhanced editor?

Hi,
When I open a .sas file i n enhanced editor, the filename is displayed in the title bar.
However, it is not easy to locate the .sas file when many .sas files are opened because I do not know the path.

In my mind, we can customize DMS environment to display the full path name of opened .sas file in title bar or status bar. Or we can add one toolbox button to put the full path name in the LOG window.

Any suggestion will be appreciated.

-Kevin
SAS Super FREQ
Posts: 8,868

Re: How to display full path name of opened .sas file in enhanced editor?

Contributor
Posts: 43

Re: How to display full path name of opened .sas file in enhanced editor?

Posted in reply to Cynthia_sas
Cynthia,
Thank you for the reply.

It seems that we can not get the pathname for specific opened .sas file.
As a instead, I list all .sas files using the statement at below:

proc sql;
select distinct xpath from dictionary.extfiles as a where substr(fileref,1,3)='#LN' and directory='no' and a.exists='yes';
quit;

- Kevin
Valued Guide
Posts: 2,177

Re: How to display full path name of opened .sas file in enhanced editor?

Hi Kevin

how many SAS programs are you dealing with?
For a reasonable number, (I think 20 is OK, but 50 might not be OK), you might have enough functionality with the WNEXTEDIT command on a function key [I use F5]. I just keep pressing F5 until I see the program I want.

will this approach help?

peterC
Ask a Question
Discussion stats
  • 3 replies
  • 262 views
  • 0 likes
  • 3 in conversation