mirror of
https://github.com/sasjs/core.git
synced 2026-01-17 13:30:05 +00:00
added backwards compebility
This commit is contained in:
3
all.sas
3
all.sas
@@ -14571,6 +14571,7 @@ run;
|
|||||||
/* get auth domain */
|
/* get auth domain */
|
||||||
autrc=metadata_getnasn(connx_uri,"Domain",1,domprop_uri);
|
autrc=metadata_getnasn(connx_uri,"Domain",1,domprop_uri);
|
||||||
arc=metadata_getattr(domprop_uri,"Name",authdomain);
|
arc=metadata_getattr(domprop_uri,"Name",authdomain);
|
||||||
|
if not missing(authdomain) then authdomain=cats('AUTHDOMAIN=',authdomain);
|
||||||
call symputx('authdomain',authdomain,'l');
|
call symputx('authdomain',authdomain,'l');
|
||||||
|
|
||||||
/* get SCHEMA */
|
/* get SCHEMA */
|
||||||
@@ -14589,7 +14590,7 @@ run;
|
|||||||
(INSERT_SQL=YES DATASRC=&sql_dsn. CONNECTION=global);
|
(INSERT_SQL=YES DATASRC=&sql_dsn. CONNECTION=global);
|
||||||
%end;
|
%end;
|
||||||
%else %do;
|
%else %do;
|
||||||
libname &libref ODBC DATASRC=&sql_dsn SCHEMA=&sql_schema AUTHDOMAIN=&authdomain;
|
libname &libref ODBC DATASRC=&sql_dsn SCHEMA=&sql_schema &authdomain;
|
||||||
%end;
|
%end;
|
||||||
%end;
|
%end;
|
||||||
%else %if &engine=POSTGRES %then %do;
|
%else %if &engine=POSTGRES %then %do;
|
||||||
|
|||||||
@@ -231,6 +231,7 @@ run;
|
|||||||
/* get auth domain */
|
/* get auth domain */
|
||||||
autrc=metadata_getnasn(connx_uri,"Domain",1,domprop_uri);
|
autrc=metadata_getnasn(connx_uri,"Domain",1,domprop_uri);
|
||||||
arc=metadata_getattr(domprop_uri,"Name",authdomain);
|
arc=metadata_getattr(domprop_uri,"Name",authdomain);
|
||||||
|
if not missing(authdomain) then authdomain=cats('AUTHDOMAIN=',authdomain);
|
||||||
call symputx('authdomain',authdomain,'l');
|
call symputx('authdomain',authdomain,'l');
|
||||||
|
|
||||||
/* get SCHEMA */
|
/* get SCHEMA */
|
||||||
@@ -249,7 +250,7 @@ run;
|
|||||||
(INSERT_SQL=YES DATASRC=&sql_dsn. CONNECTION=global);
|
(INSERT_SQL=YES DATASRC=&sql_dsn. CONNECTION=global);
|
||||||
%end;
|
%end;
|
||||||
%else %do;
|
%else %do;
|
||||||
libname &libref ODBC DATASRC=&sql_dsn SCHEMA=&sql_schema AUTHDOMAIN=&authdomain;
|
libname &libref ODBC DATASRC=&sql_dsn SCHEMA=&sql_schema &authdomain;
|
||||||
%end;
|
%end;
|
||||||
%end;
|
%end;
|
||||||
%else %if &engine=POSTGRES %then %do;
|
%else %if &engine=POSTGRES %then %do;
|
||||||
|
|||||||
Reference in New Issue
Block a user