We recently upgraded SAS 9.4 M8 to M9, and we are facing issue with DB2 connection from SAS Studio to MF connection.
103 PROC SQL;
104 CONNECT TO DB2 (schema = "_PDUSER");
ERROR: The SAS/ACCESS Interface to DB2 cannot be loaded. The SASDBU code appendage could not be loaded.
ERROR: A Connection to the DB2 DBMS is not currently supported, or is not installed at your site.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
105 CREATE TABLE extractt
106 AS SELECT * FROM CONNECTION TO DB2 (
107 SELECT name, creator, dbname, tsname
108 FROM sysibm.systables
109 where creator='SYSIBM'
110 )
111 ;
NOTE: Statement not executed due to NOEXEC option.
112 %PUT &SQLXMSG &SQLXRC;
ERROR: A Connection to the DB2 DBMS is not currently supported, or is not installed at your site. -1
As an addition to @Ksharp tips, also run PROC Product_Status. It will give details on what is actually installed.
Please verify whether you can login DB2 database by DB2CLI first. This will help to isolate the problem is from SAS side or from DB2 client side.
If you are on AIX or unix, please login to the console by account 'sas' first and then validate the DB2CLI functionality.
Also suggest opening the TS log if it is not DB2 client problem.
I was doing mistake, I had forgot to make sandwich (RUBMIT, ENDRSUBMIT), as I am connecting from SAS Studio to MF, now seems okay. Can somebody suggest about warning message.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.