@sasjs/core 4.32.9 → 4.32.10

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.
@@ -40,6 +40,11 @@
40
40
  %else %if "&SYSVLONG" < "9.04.01M3" %then 0;
41
41
  %else 1;
42
42
  %end;
43
+ %else %if &feature=DBMS_MEMTYPE %then %do;
44
+ /* does dbms_memtype exist in dictionary.tables? */
45
+ %if "%substr(&sysver,1,1)"="4" or "%substr(&sysver,1,1)"="5" %then 0;
46
+ %else 1;
47
+ %end;
43
48
  %else %if &feature=EXPORTXLS %then %do;
44
49
  /* is it possible to PROC EXPORT an excel file? */
45
50
  %if "%substr(&sysver,1,1)"="4" or "%substr(&sysver,1,1)"="5" %then 1;
package/base/mp_getpk.sas CHANGED
@@ -34,6 +34,7 @@
34
34
  @param [out] outds= (work.mp_getpk) The name of the output table to create.
35
35
 
36
36
  <h4> SAS Macros </h4>
37
+ @li mf_existfeature.sas
37
38
  @li mf_getengine.sas
38
39
  @li mf_getschema.sas
39
40
  @li mp_dropmembers.sas
@@ -229,7 +230,12 @@ create table work.&tabs1 as select
229
230
  libname as libref
230
231
  ,upcase(memname) as dsn
231
232
  ,memtype
233
+ %if %mf_existfeature(DBMS_MEMTYPE)=1 %then %do;
232
234
  ,dbms_memtype
235
+ %end;
236
+ %else %do;
237
+ ,'n/a' as dbms_memtype format=$32.
238
+ %end;
233
239
  ,typemem
234
240
  ,memlabel
235
241
  ,nvar
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.32.9"
38
+ "version": "4.32.10"
39
39
  }