@sasjs/core 4.45.11 → 4.45.12

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/.sasjslint CHANGED
@@ -4,6 +4,7 @@
4
4
  "hasDoxygenHeader": true,
5
5
  "hasMacroNameInMend": true,
6
6
  "hasMacroParentheses": true,
7
+ "lineEndings": "lf",
7
8
  "noGremlins": true,
8
9
  "noNestedMacros": false,
9
10
  "noSpacesInFileNames": true,
@@ -25,13 +25,17 @@
25
25
  %local dsid rc;
26
26
  %let dsid=%sysfunc(open(&libds,is));
27
27
 
28
- %if &dsid=0 or %length(&var)=0 %then %do;
28
+ %if &dsid=0 %then %do;
29
29
  %put %sysfunc(sysmsg());
30
- 0
30
+ 0
31
+ %end;
32
+ %else %if %length(&var)=0 %then %do;
33
+ 0
34
+ %let rc=%sysfunc(close(&dsid));
31
35
  %end;
32
36
  %else %do;
33
- %sysfunc(varnum(&dsid,&var))
34
- %let rc=%sysfunc(close(&dsid));
37
+ %sysfunc(varnum(&dsid,&var))
38
+ %let rc=%sysfunc(close(&dsid));
35
39
  %end;
36
40
 
37
41
  %mend mf_existvar;
@@ -167,7 +167,7 @@ run;
167
167
  data _null_;
168
168
  putlog 'NOTE-' / 'NOTE-';
169
169
  putlog "NOTE- &sysmacroname: table locked, waiting "@;
170
- putlog "%sysfunc(sleep(&loop_inc)) seconds.. ";
170
+ putlog "%sysfunc(sleep(&loop_secs)) seconds.. ";
171
171
  putlog "NOTE- (iteration &x of &loops)";
172
172
  putlog 'NOTE-' / 'NOTE-';
173
173
  run;
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.24.0"
37
37
  },
38
- "version": "4.45.11"
38
+ "version": "4.45.12"
39
39
  }