Hello,
I have created a user defined format in Enterprise Guide and I saved it in a permanent library. I know from Base SAS that in order to tell SAS to search in a particular library so as to find a format we use the fmtsearch option. How can we apply the fmtsearch option using thew GUI?
Thank you very much in advance,
Andreas
If you store your permanent format in a catalog called LIBRARY.FORMATS (LIBRARY is usually one of the SAS automatically setup libraries) by using: proc format library = library, then you wont need FMTSEARCH as SAS looks in LIBRARY.FORMATS automatically.
You can include the ftmsearch option in the custom code to be sent before the execution of a task, or in the custom code to be sent when a connection to a workspace server is established. Or you could include it in the autoexec_usermods.sas file in the configuration directory of the respective workspace server.
Hello Kurt,
Thanks for your answer. I was wondering if we could tell SAS EG to search in a particular library for formats through the GUI without using any code. Any ideas?
Thanks again,
Andreas
SAS IS code. EVERYTHING is done with code. Every task in EG is nothing but a code generator, and the code generated should be used as the starting pount for serious work.
Startup code is THE one means to automate SAS behaviour, and it is the place where you have to put your ftmsearch option. You just need to determine if you need it everytime for everyone using the workspace server (autoexec_usermods.sas, serverside) or just personally (then use custom code sent from EG).
These blog posts might help as well:
http://blogs.sas.com/content/sgf/2014/05/01/autoexecs-the-sas-enterprise-guide-advantage/
And this one, for some context:
http://blogs.sas.com/content/sasdummy/2009/10/20/do-me-a-favor-stop-doing-me-favors/
Chris
If you store your permanent format in a catalog called LIBRARY.FORMATS (LIBRARY is usually one of the SAS automatically setup libraries) by using: proc format library = library, then you wont need FMTSEARCH as SAS looks in LIBRARY.FORMATS automatically.
Thanks for your answer! It works! SA EG searches for formats in the library work and i the permanent library with the name library.
Thanks again,
Andreas
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.