mirror of
https://github.com/sasjs/core.git
synced 2026-03-10 13:08:09 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
737eb65251 | ||
|
|
c50555a6e2 | ||
|
|
c69639a228 | ||
|
|
9930b84785 | ||
|
|
7686b7fb99 | ||
|
|
def0514731 |
5
all.sas
5
all.sas
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user