proc sql; select smv.*, smvd.macrovalue, smvd.macrovaluelabel, smvd.default from control.standardmacrovariables smv, control.standardmacrovariabledetails smvd where smv.macrovariable = smvd.macrovariable; quit;
Global Macro Variable
|
Example
|
Comments
|
---|---|---|
_cstGRoot
|
C:\cstGlobalLibrary
|
This variable is required.
It defines the location of _cstGlobalLibrary. It is set with the autocall
macro %CSTUTIL_SETCSTGROOT, which is called in most framework macros.
It is used most often in SASReferences paths to enable relative path
mobility.
|
_cstSRoot
|
C:\cstSampleLibrary
|
This variable is optional.
It defines the location of _cstSampleLibrary. It is set with the autocall
macro %CSTUTIL_SETCSTSROOT, which is called in most sample driver
programs to derive the studyRootPath and studyOutputPath global macro
variables.
|
studyRootPath
|
C:\Study1
|
This variable is optional.
It defines the location of study data and metadata. It is often set
in user-defined driver programs (for example, validate_data.sas).
It is used in SASReferences paths to limit the changes that are required
when changing input data sources, which facilitates portability.
|
studyOutputPath
|
C:\Study1\output
|
This variable is optional.
It defines the location of generated output. It is often set in user-defined
driver programs (for example, validate_data.sas). It is used in SASReferences
paths to limit the changes that are required when changing output
locations, which facilitates portability.
|