mirror of
https://github.com/sasjs/core.git
synced 2026-06-08 20:10:20 +00:00
fix: using 128 instead of 131 in _debug due to compute task bug
This commit is contained in:
@@ -23,6 +23,7 @@ options lrecl=80;
|
|||||||
|
|
||||||
%macro loglevel();
|
%macro loglevel();
|
||||||
%if "&_debug"="2477" or "&_debug"="fields,log,trace" or "&_debug"="131"
|
%if "&_debug"="2477" or "&_debug"="fields,log,trace" or "&_debug"="131"
|
||||||
|
or "&_debug"="128"
|
||||||
%then %do;
|
%then %do;
|
||||||
%put debug mode activated;
|
%put debug mode activated;
|
||||||
options mprint mprintnest;
|
options mprint mprintnest;
|
||||||
|
|||||||
+5
-5
@@ -56,13 +56,13 @@
|
|||||||
);
|
);
|
||||||
%global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name
|
%global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name
|
||||||
sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS;
|
sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS;
|
||||||
%if %index("&_debug",log) %then %let _debug=131;
|
%if %index("&_debug",log) %then %let _debug=128;
|
||||||
|
|
||||||
%local i tempds table;
|
%local i tempds table;
|
||||||
%let action=%upcase(&action);
|
%let action=%upcase(&action);
|
||||||
|
|
||||||
%if &action=FETCH %then %do;
|
%if &action=FETCH %then %do;
|
||||||
%if %upcase(&_omittextlog)=FALSE or %str(&_debug) ge 131 %then %do;
|
%if %upcase(&_omittextlog)=FALSE or %str(&_debug) ge 128 %then %do;
|
||||||
options mprint notes mprintnest;
|
options mprint notes mprintnest;
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
infile indata termstr=crlf lrecl=32767;
|
infile indata termstr=crlf lrecl=32767;
|
||||||
input;
|
input;
|
||||||
if _n_=1 then call symputx('input_statement',_infile_);
|
if _n_=1 then call symputx('input_statement',_infile_);
|
||||||
%if %str(&_debug) ge 131 %then %do;
|
%if %str(&_debug) ge 128 %then %do;
|
||||||
if _n_<20 then putlog _infile_;
|
if _n_<20 then putlog _infile_;
|
||||||
else stop;
|
else stop;
|
||||||
%end;
|
%end;
|
||||||
@@ -158,7 +158,7 @@
|
|||||||
|
|
||||||
/* setup json */
|
/* setup json */
|
||||||
data _null_;file &fref;
|
data _null_;file &fref;
|
||||||
%if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do;
|
%if %str(&_debug) ge 128 and &_EXECUTIONTASKS=true %then %do;
|
||||||
put '>>weboutBEGIN<<';
|
put '>>weboutBEGIN<<';
|
||||||
%end;
|
%end;
|
||||||
put '{"SYSDATE" : "' "&SYSDATE" '"';
|
put '{"SYSDATE" : "' "&SYSDATE" '"';
|
||||||
@@ -273,7 +273,7 @@
|
|||||||
memsize=quote(cats(memsize));
|
memsize=quote(cats(memsize));
|
||||||
put ',"MEMSIZE" : ' memsize;
|
put ',"MEMSIZE" : ' memsize;
|
||||||
put "}";
|
put "}";
|
||||||
%if %str(&_debug) ge 131 and &_EXECUTIONTASKS=true %then %do;
|
%if %str(&_debug) ge 128 and &_EXECUTIONTASKS=true %then %do;
|
||||||
put '>>weboutEND<<';
|
put '>>weboutEND<<';
|
||||||
%end;
|
%end;
|
||||||
%if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do;
|
%if %upcase(&fref) ne _WEBOUT and &stream=Y %then %do;
|
||||||
|
|||||||
Reference in New Issue
Block a user