- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps someone has added their own FMTSEARCH option in a configuration file somewhere, and omitted the LIBRARY catalog. It's safest to use the INSERT or APPEND option when setting FMTSEARCH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to double-click from Windows Explorer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
options nofmterr ;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content