@sasjs/core 4.66.1 → 4.66.3

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/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "maintainers": [
36
36
  "https://sasapps.io"
37
37
  ],
38
- "version": "4.66.1"
38
+ "version": "4.66.3"
39
39
  }
@@ -697,6 +697,9 @@ data _null_;
697
697
  put ' ';
698
698
  put ' /* setup json */ ';
699
699
  put ' data _null_;file &fref; ';
700
+ put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; ';
701
+ put ' put ''>>weboutBEGIN<<''; ';
702
+ put ' %end; ';
700
703
  put ' put ''{"SYSDATE" : "'' "&SYSDATE" ''"''; ';
701
704
  put ' put '',"SYSTIME" : "'' "&SYSTIME" ''"''; ';
702
705
  put ' run; ';
@@ -809,7 +812,9 @@ data _null_;
809
812
  put ' memsize=quote(cats(memsize)); ';
810
813
  put ' put '',"MEMSIZE" : '' memsize; ';
811
814
  put ' put "}"; ';
812
- put ' ';
815
+ put ' %if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do; ';
816
+ put ' put ''>>weboutEND<<''; ';
817
+ put ' %end; ';
813
818
  put ' %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do; ';
814
819
  put ' data _null_; rc=fcopy("&fref","_webout");run; ';
815
820
  put ' %end; ';
@@ -56,13 +56,13 @@
56
56
  );
57
57
  %global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name
58
58
  sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS;
59
- %if %index("&_debug",log) %then %let _debug=131;
59
+ %if %index("&_debug",log) %then %let _debug=128;
60
60
 
61
61
  %local i tempds table;
62
62
  %let action=%upcase(&action);
63
63
 
64
64
  %if &action=FETCH %then %do;
65
- %if %upcase(&_omittextlog)=FALSE or %str(&_debug) ge 131 %then %do;
65
+ %if %upcase(&_omittextlog)=FALSE or %str(&_debug) ge 128 %then %do;
66
66
  options mprint notes mprintnest;
67
67
  %end;
68
68
 
@@ -125,7 +125,7 @@
125
125
  infile indata termstr=crlf lrecl=32767;
126
126
  input;
127
127
  if _n_=1 then call symputx('input_statement',_infile_);
128
- %if %str(&_debug) ge 131 %then %do;
128
+ %if %str(&_debug) ge 128 %then %do;
129
129
  if _n_<20 then putlog _infile_;
130
130
  else stop;
131
131
  %end;
@@ -158,6 +158,9 @@
158
158
 
159
159
  /* setup json */
160
160
  data _null_;file &fref;
161
+ %if %str(&_debug) ge 128 and &_EXECUTIONTASKS=true %then %do;
162
+ put '>>weboutBEGIN<<';
163
+ %end;
161
164
  put '{"SYSDATE" : "' "&SYSDATE" '"';
162
165
  put ',"SYSTIME" : "' "&SYSTIME" '"';
163
166
  run;
@@ -270,7 +273,9 @@
270
273
  memsize=quote(cats(memsize));
271
274
  put ',"MEMSIZE" : ' memsize;
272
275
  put "}";
273
-
276
+ %if %str(&_debug) ge 128 and &_EXECUTIONTASKS=true %then %do;
277
+ put '>>weboutEND<<';
278
+ %end;
274
279
  %if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do;
275
280
  data _null_; rc=fcopy("&fref","_webout");run;
276
281
  %end;