File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 150
150
%if %sysfunc (find(%upcase (&__PROJECT_TYPE .),RE)) ge 1 %then %do ;
151
151
* imported read-only SDTM data, using the data cutoff date.. ;
152
152
* .. and sdtm variable to identify the correct snapshot to use ;
153
- libname SDTM "/mnt/imported/data/snapshots/SDTMBLIND/&__DCUTDTC." access= readonly;
153
+ %let __SDTM_DATASET = %sysget (SDTM_DATASET);
154
+ %if &__SDTM_DATASET . eq %str () %then %put %str (ER)ROR: Environment Variable SDTM_DATASET not set ;
155
+ libname SDTM "/mnt/imported/data/snapshots/&__SDTM_DATASET./&__DCUTDTC." access= readonly;
154
156
* local read/write acces to ADaM and QC folders;
155
157
libname ADAM "&__localdata_path./ADAM" ;
156
158
libname ADAMQC "&__localdata_path./ADAMQC" ;
@@ -251,4 +253,4 @@ options
251
253
* List all the libraries that are currently defined;
252
254
libname _all_ list ;
253
255
254
- *EOF;
256
+ *EOF;
You can’t perform that action at this time.
0 commit comments