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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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