@sasjs/core 4.21.3 → 4.21.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/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.21.3"
38
+ "version": "4.21.4"
39
39
  }
@@ -390,6 +390,11 @@ data _null_;
390
390
  put '%end; ';
391
391
  put ' ';
392
392
  put '%else %if &action=ARR or &action=OBJ %then %do; ';
393
+ put ' %if "%substr(&sysver,1,1)"="4" or "%substr(&sysver,1,1)"="5" %then %do; ';
394
+ put ' /* functions in formats unsupported */ ';
395
+ put ' %put &sysmacroname: forcing missing back to NULL as feature not supported; ';
396
+ put ' %let missing=NULL; ';
397
+ put ' %end; ';
393
398
  put ' %mp_jsonout(&action,&ds,dslabel=&dslabel,fmt=&fmt,jref=&fref ';
394
399
  put ' ,engine=DATASTEP,missing=&missing,showmeta=&showmeta ';
395
400
  put ' ) ';
@@ -100,6 +100,11 @@
100
100
  %end;
101
101
 
102
102
  %else %if &action=ARR or &action=OBJ %then %do;
103
+ %if "%substr(&sysver,1,1)"="4" or "%substr(&sysver,1,1)"="5" %then %do;
104
+ /* functions in formats unsupported */
105
+ %put &sysmacroname: forcing missing back to NULL as feature not supported;
106
+ %let missing=NULL;
107
+ %end;
103
108
  %mp_jsonout(&action,&ds,dslabel=&dslabel,fmt=&fmt,jref=&fref
104
109
  ,engine=DATASTEP,missing=&missing,showmeta=&showmeta
105
110
  )