1
0
mirror of https://github.com/sasjs/core.git synced 2026-03-10 13:08:09 +00:00

Compare commits

...

6 Commits

Author SHA1 Message Date
Allan Bowe
737eb65251 Merge pull request #415 from sasjs/sf
feat: snowflake support in mf_getschema
2026-02-18 19:01:37 +00:00
github-actions
c50555a6e2 chore: updating all.sas 2026-02-18 17:23:52 +00:00
allan
c69639a228 feat: snowflake support in mf_getschema 2026-02-18 17:23:25 +00:00
Allan Bowe
9930b84785 Merge pull request #413 from sasjs/issue412
fix: adding uri to length statement in mv_deletejes

Closes #412
2026-02-09 23:07:11 +00:00
github-actions
7686b7fb99 chore: updating all.sas 2026-02-09 23:06:39 +00:00
allan
def0514731 fix: adding uri to length statement in mv_deletejes 2026-02-09 23:06:15 +00:00
3 changed files with 6 additions and 4 deletions

View File

@@ -1018,8 +1018,9 @@ or %index(&pgm,/tests/testteardown)
%local dsid vnum rc schema;
/* in case the parameter is a libref.tablename, pull off just the libref */
%let libref = %upcase(%scan(&libref, 1, %str(.)));
/* sysname can be 'Schema/Owner' or just 'Schema' (eg snowflake) */
%let dsid=%sysfunc(open(sashelp.vlibnam(where=(
libname="%upcase(&libref)" and sysname='Schema/Owner'
libname="%upcase(&libref)" and sysname=:'Schema'
)),i));
%if (&dsid ^= 0) %then %do;
%let vnum=%sysfunc(varnum(&dsid,SYSVALUE));
@@ -26427,7 +26428,7 @@ libname &libref1a JSON fileref=&fname1a;
%let found=0;
/* %put Getting object uri from &libref1a..items; */
data _null_;
length contenttype name $1000;
length contenttype name uri $1000;
call missing(of _all_);
set &libref1a..items;
if contenttype='jobDefinition' and upcase(name)="%upcase(&name)" then do;

View File

@@ -25,8 +25,9 @@
%local dsid vnum rc schema;
/* in case the parameter is a libref.tablename, pull off just the libref */
%let libref = %upcase(%scan(&libref, 1, %str(.)));
/* sysname can be 'Schema/Owner' or just 'Schema' (eg snowflake) */
%let dsid=%sysfunc(open(sashelp.vlibnam(where=(
libname="%upcase(&libref)" and sysname='Schema/Owner'
libname="%upcase(&libref)" and sysname=:'Schema'
)),i));
%if (&dsid ^= 0) %then %do;
%let vnum=%sysfunc(varnum(&dsid,SYSVALUE));

View File

@@ -117,7 +117,7 @@ libname &libref1a JSON fileref=&fname1a;
%let found=0;
/* %put Getting object uri from &libref1a..items; */
data _null_;
length contenttype name $1000;
length contenttype name uri $1000;
call missing(of _all_);
set &libref1a..items;
if contenttype='jobDefinition' and upcase(name)="%upcase(&name)" then do;