Error message, "Object not found in database. Error Code: -16843057 ct_send(): ", when attempted to join two view datasets from Sybase by using LIBNAME engine.
In SAS TS note, there is a sample for using Proc SQL Pass-through connect with a different alias. How to get workaround with LIBNAME engine and Merge statement? Below is sample code...
Libname dblib sybase server=.........;
Proc sql;
Create view vwdt1 as
Select keys,a,b,c from dblib.sybs1 order by keys;
Create view vwdt2 as
Select keys,x,y,z from dblib.sybs2 order by keys;
Quit;
Data joiondt;
Merge vwdt1 vwdt2;
By keys;
Run;
In SAS TS note, there is a sample for using Proc SQL Pass-through connect with a different alias. How to get workaround with LIBNAME engine and Merge statement? Below is sample code...
Libname dblib sybase server=.........;
Proc sql;
Create view vwdt1 as
Select keys,a,b,c from dblib.sybs1 order by keys;
Create view vwdt2 as
Select keys,x,y,z from dblib.sybs2 order by keys;
Quit;
Data joiondt;
Merge vwdt1 vwdt2;
By keys;
Run;