BookmarkSubscribeRSS Feed
advoss
Quartz | Level 8
How can I "extract" the Recently Used File List information from the SASUSER.PROFILE catalog? And of course, the follow-up question would then be: Can I update the Recently Used File List information in the SASUSER.PROFILE catalog programmatically?

Thank you.
7 REPLIES 7
Reeza
Super User
I'd be a bit cautious when using the recently used file list. Depending on how I open certain programs they may or may not appear on my list. But if that's fine with you than have fun with it.
art297
Opal | Level 21
I'm not sure if the following is showing the same thing as you are asking, but it might be worth a try:

data thefiles;
set sashelp.vextfl;
run;

Art
advoss
Quartz | Level 8
No, that shows me information about external files that I am reading. I'm really interested in getting at the list of sas program files/scripts that I have used most recently. Since I'm too lazy to keep good notes, some judicious programming might serve me a little better for what I was working on two days ago.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Such a feature/function in SAS does not exist. It may or may not be a suitable enhancement item, however you will want to be very clear about how/where you want SAS to keep track of this information (interactive, batch, otherwise?).

Scott Barry
SBBWorks, Inc.
ArtC
Rhodochrosite | Level 12
How many programs do you access in two days? In your preferences you can bump up the number shown to 30.
Reeza
Super User
If you're using Windows you might be able to filter out .sas files in the My Recent Documents Folder.

The path is
C:\Documents and Settings\username\Recent

Get a program to read all entries in this folder and then filter for .sas is a possibility I think. Not sure if it would actually work based on the fact that its shortcuts not the actual files. Or how it gets populated, ie open file from within SAS or from contents pane, or from double click in windows.

http://support.sas.com/kb/24/707.html

I gave it a quick test try and the pipe part of the code didn't work for me, but I always have trouble with that kind of stuff.
Ksharp
Super User
Why not use Windows self-own search functionality.
Start-> Search->File->File
There is option can select the modified date of file, And there are also some another option can use.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 7 replies
  • 2842 views
  • 0 likes
  • 6 in conversation