@sasjs/core 4.65.4 → 4.66.0

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.65.4"
38
+ "version": "4.66.0"
39
39
  }
@@ -145,7 +145,6 @@ options noquotelenmax;
145
145
  run;
146
146
  %end;
147
147
  %if &SYS_PROCHTTP_STATUS_CODE=200 %then %do;
148
- %*put &sysmacroname &newpath exists so grab the follow on link ;
149
148
  data _null_;
150
149
  set &libref1..links;
151
150
  if rel='createChild' then
@@ -594,7 +594,7 @@ data _null_;
594
594
  put ' ,showmeta=N,maxobs=MAX,workobs=0 ';
595
595
  put '); ';
596
596
  put '%global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name ';
597
- put ' sasjs_tables SYS_JES_JOB_URI; ';
597
+ put ' sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS; ';
598
598
  put '%if %index("&_debug",log) %then %let _debug=131; ';
599
599
  put ' ';
600
600
  put '%local i tempds table; ';
@@ -649,8 +649,12 @@ data _null_;
649
649
  put ' %end; ';
650
650
  put ' %else %do i=1 %to &_webin_file_count; ';
651
651
  put ' /* read in any files that are sent */ ';
652
- put ' /* this part needs refactoring for wide files */ ';
653
- put ' filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; ';
652
+ put ' %if &_EXECUTIONTASKS=true %then %do; ';
653
+ put ' filename indata "%sysfunc(pathname(&&_webin_fileref&i))" lrecl=999999; ';
654
+ put ' %end; ';
655
+ put ' %else %do; ';
656
+ put ' filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999; ';
657
+ put ' %end; ';
654
658
  put ' data _null_; ';
655
659
  put ' infile indata termstr=crlf lrecl=32767; ';
656
660
  put ' input; ';
@@ -55,7 +55,7 @@
55
55
  ,showmeta=N,maxobs=MAX,workobs=0
56
56
  );
57
57
  %global _webin_file_count _webin_fileuri _debug _omittextlog _webin_name
58
- sasjs_tables SYS_JES_JOB_URI;
58
+ sasjs_tables SYS_JES_JOB_URI _EXECUTIONTASKS;
59
59
  %if %index("&_debug",log) %then %let _debug=131;
60
60
 
61
61
  %local i tempds table;
@@ -110,8 +110,12 @@
110
110
  %end;
111
111
  %else %do i=1 %to &_webin_file_count;
112
112
  /* read in any files that are sent */
113
- /* this part needs refactoring for wide files */
114
- filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999;
113
+ %if &_EXECUTIONTASKS=true %then %do;
114
+ filename indata "%sysfunc(pathname(&&_webin_fileref&i))" lrecl=999999;
115
+ %end;
116
+ %else %do;
117
+ filename indata filesrvc "&&_webin_fileuri&i" lrecl=999999;
118
+ %end;
115
119
  data _null_;
116
120
  infile indata termstr=crlf lrecl=32767;
117
121
  input;