BookmarkSubscribeRSS Feed
eddieleung305
Obsidian | Level 7

We are configuring Viya4 with SAS/ACCESS to DB2 to access an external DB2 server.

May I know how to CATALOG a DB2 database in the Viya4 environment?

 

I know that if it is SAS9 or Viya3.5, we will install the DB2 client on the same server that was installed with SAS9 or Viya3.5 and then we will CATALOG a database by db2 command. e.g. 

db2 CATALOG DATABASE PRDDB1 AS PRDDB1 AT NODE S051I001

 

How to do the same operation in Viya4 and Kubernetes world? SAS doc has a details description of how to install the db2 client and move to NFS PV but not much to discuss the operation. We noticed that without the correct setup, we will have the error: 

 

ERROR: CLI error trying to establish connection: [IBM][CLI Driver] SQL1031N The database directory cannot be found on the
indicated file system. SQLSTATE=58031

 

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Discussion stats
  • 0 replies
  • 1414 views
  • 0 likes
  • 1 in conversation