04-13-2012 06:08 AM
Hi to All
Can somebody tell me how to call stored procedure in SAS?
I try with this but i received Error in the LIBNAME statement
libname mydblib odbc dsn=CC_DB_live user=**** password=**** dbconinit='call SP_WT_REPORT'
Thank you in advance.
04-13-2012 07:26 AM
Try this...hope it helps...
connect to oledb(dsn=CC_DB_live uid=test pwd=test provider=sqloledb);
execute (SP_WT_REPORT ) by oledb;
04-13-2012 07:40 AM
Thank you for respond.
I recieved this error
ERROR: The OLEDB engine cannot be found.
ERROR: A Connection to the oledb DBMS is not currently supported, or is not installed at your site.
Thank you again