An Idea Exchange for SAS software and services

by Super User
on ‎12-19-2013 01:28 PM

Are you sure you can't?

by Trusted Advisor
on ‎12-20-2013 03:59 PM

Use a environtvariable in the usermods script of the related app server eg:
- export sasbasenam=/data/location/tobeset
- set  sasbasenam=/data/location/tobeset   (sas usermods config file)
With some scripting on Unix/Windos it sould be easy to vary those name.
It also possible to build SAS code that generates a script that is being called at startup. A little bit tricky to get reliable my advice is a wle tested professional approach on that.
In the source repository or other physical filename use a !  eg:
!sasbasenam/yoursrc        (this can be metadata or just SAS code)

What happens is the fully name will be used. in this case: /data/location/tobeset/yoursrc  
By this you can achieve fully dynamic physical namings varying on the appserver being used.

SAS(R) 9.3 Companion for UNIX Environments (even fileref can be an environment var0
SAS(R) 9.4 Companion for Windows, Second Edition (windows better documented) 

Idea Statuses
Top Liked Authors