Loading...
Searching...
No Matches
mpe_getpath2settings.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Returns the path to the settings file
4 @details The settings file location differs by platform:
5
6 @li SASJS - `<apploc>/services/public/settings.sas`
7 @li SASMETA - `<apploc>/services/public/Data_Controller_Settings`
8 @li SASVIYA - `<apploc>/services/settings.sas`
9
10 Usage:
11
12 %let settingspath=%mpe_getpath2settings();
13 %put &=settingspath;
14
15 <h4> SAS Macros </h4>
16 @li mf_getapploc.sas
17 @li mf_getplatform.sas
18
19**/
20
21%macro mpe_getpath2settings();
22%local root platform;
23%let root=%mf_getapploc();
24%let platform=%mf_getplatform();
25
26%if &platform=SASJS %then %do;
27 &root/services/public/settings
28%end;
29%else %if &platform=SASMETA %then %do;
30 &root/services/public/Data_Controller_Settings
31%end;
32%else %if &platform=SASVIYA %then %do;
33 &root/services/settings
34%end;
35
36%mend mpe_getpath2settings;