Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion all.sas
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
3 changes: 2 additions & 1 deletion base/mf_getschema.sas
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down