Hi all,
I have always included a formatting step when processing my data sets. Something to the effect of:
libname library "C:\Users\me\Desktop";
proc format library=library;
value xf 1="First" 2="Second" 3="Third";
run;
data want; set have;
format x xf.;
run;
And then I save the data set into the same "library" directory. A "formats" folder appears in this directory and has the xf format in it. I've then always been able to open my data sets by double clicking on them and they open just fine. Great.
Then, today, I must have done something because this no longer works. I can't open my data sets via double click. I can still open them with SAS code by specifying:
libname library "C:\Users\me\Desktop";
data want; set library.have; run;
What have I done? How can I turn back time to the glorious days of mindless double-clicking? Much appreciated.
It returns "FMTSEARCH=(WORK LIBRARY)".
I had to edit the original post. I can in fact open the data sets with SAS code as normal; I just can't double-click to open them.
Which environment are you working in? Display manager, SAS University Edition, Enterprise Guide, connected to a server where an admin may have changed a setting?
Click on where? In a SAS file menu? on the actual desktop?
Have you tried restarting SAS and see if this happens in a new session?
1. Is there an error message you get when you open. Options nofmterr; will allow you to open SAS datasets with no formatting. You can follow the other options for format search as suggested by the community.
2. Are you trying to open the sas dataset from the physical location(i.e. the folder) itself by double clicking and it is not opening then there is a display manager setting that is messed up. I do not remember this option off the top of my head.
Can you set the options nofmterr in SAS sas config file and try. How is the behavior when you double click on it ? Is there a flash like it is trying to open and then nothing happens?
When you right click on SAS Icon on your laptop you can see where sas is launched from and the corresponding config file can be changed to any file you want. Can you try doing that?
"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.