BookmarkSubscribeRSS Feed
KevinQin
Obsidian | Level 7
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
3 REPLIES 3
KevinQin
Obsidian | Level 7
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
Peter_C
Rhodochrosite | Level 12
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2178 views
  • 0 likes
  • 3 in conversation