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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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