Sql-server – adding 2nd catalog for linked server to DB2

db2db2-luwlinked-serversql serversql server 2014

I am unable to figure out how to add multiple catalogs for a DB2 linked server.

I have an initial Linked server setup and working properly, but I am struggling to figure out how to add multiple databases from the DB2 instance (version 11.1), using below:

Microsoft SQL Server 2014 (SP2) (KB3171021) – 12.0.5000.0 (X64) Jun 17 2016 19:14:09 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.3 (Build 9600: ) (Hypervisor) .

Best Answer

From my experience there can be just 1 catalog per 1 linked server

You will need to create separate linked servers for each database on remote server (DB2) that you want to be available for querying on your "local" server (SQL Server)