BookmarkSubscribeRSS Feed
smantha
Lapis Lazuli | Level 10

In the image above as you can see I right clicked on the SAS shortcut icon and selected properties I end up on the other popup window and the field highlighted in blue will have the SAS.exe command and config parameter. You can modify the argument after config to suit your needs. You can create a custom config file and provide it as a parameter to -config

smantha
Lapis Lazuli | Level 10

If you get around to modifying config file then you can use fmtsearch as an option in config file.

JackHamilton
Lapis Lazuli | Level 10
You also put fmtsearch in your autoexec.sas.

You can set Windows environment variables to specify either an autoexec.sas or sasv9,cfg file without needing to write into a protected directory. You probably have access to user environment variables even if you don't have admin rights.

See:

https://www.mwsug.org/proceedings/2018/SP/MWSUG-2018-SP-100.pdf

https://documentation.sas.com/?docsetId=hostwin&docsetTarget=p0bmj7wjme32ayn1h4wim7trkhp6.htm&docset...

The logic SAS uses to find configuration files in Windows is complicated, and I find setting SAS_USER_CONFIG and SAS_OPTIONS to be the easiest to understand.
kpberger
Obsidian | Level 7
Thank you for the resources. How would adding fmtsearch to the autoexec file help though? It's already set to search in work and then library for formats.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 18 replies
  • 4145 views
  • 0 likes
  • 5 in conversation