You can add operating
system environment variables and other shell-level functionality to
a stored process server, workspace server, pooled workspace server,
and OLAP server, by modifying the corresponding _usermods.sh (.bat)
files provided in the server's configuration directory.
This can be useful for
situations such as when you have to set an environment variable in
order to access a third-party DBMS.
Because the _usermods
files are sourced within each of the server wrapper scripts, the server
inherits any logic or environment. SAS preserves _usermods files during
software updates and migrations, unlike the server wrapper scripts,
which SAS overwrites. For this reason, we discourage editing the wrapper
scripts.
The USERMODS_OPTIONS=
variable is used in the _usermods file to alter the SAS command line
to invoke the server.