@sasjs/core 3.7.3 → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/mp_applyformats.sas +2 -2
- package/package.json +1 -1
package/base/mp_applyformats.sas
CHANGED
|
@@ -142,16 +142,16 @@ run;
|
|
|
142
142
|
proc sql noprint;
|
|
143
143
|
select distinct lib into: liblist separated by ' ' from &inds;
|
|
144
144
|
%put &=liblist;
|
|
145
|
-
%do i=1 %to %sysfunc(countw(&liblist));
|
|
145
|
+
%if %length(&liblist)>0 %then %do i=1 %to %sysfunc(countw(&liblist));
|
|
146
146
|
%let lib=%scan(&liblist,1);
|
|
147
147
|
%let engine=%mf_getengine(&lib);
|
|
148
148
|
%if &engine ne V9 and &engine ne BASE %then %do;
|
|
149
149
|
%let msg=&lib has &engine engine - formats cannot be applied;
|
|
150
|
-
proc sql;
|
|
151
150
|
insert into &outds set lib="&lib",ds="_all_",var="_all", msg="&msg" ;
|
|
152
151
|
%if &errds=0 %then %put %str(ERR)OR: &msg;
|
|
153
152
|
%end;
|
|
154
153
|
%end;
|
|
154
|
+
quit;
|
|
155
155
|
|
|
156
156
|
%if %mf_nobs(&outds)>0 %then %return;
|
|
157
157
|
|
package/package.json
CHANGED