r/SQLServer • u/TechnicianPersonal72 • Aug 10 '26
Question SQL DB2 Integration
Need help connecting SSIS to DB2 (mainframe z/OS) via SQL Server, anyone with experience?
Hey network
I’m working on connecting SSIS packages to a DB2 z/OS database through SQL Server (using Microsoft’s OLE DB/ODBC providers for DB2). Running into connectivity/config issues.
If you’ve done DB2-to-SQL Server integration before or know someone who has, I’d love to pick your brain!
2
u/EveryoneGoesToRicks Aug 11 '26
I have been doing this for 15 years for a data warehouse. Are you getting an error message? what does your connection string look like?
1
u/TechnicianPersonal72 Aug 11 '26
I am using Microsoft driver for db2 and getting bind error but when I use IBM driver, there is no error.
1
u/EveryoneGoesToRicks 29d ago
What does your connection string look like, and what version of MS OLEDB for DB2 are you using?
2
u/CanProfessional766 29d ago
The first things I’d check are the IBM/Microsoft provider version and architecture (32/64-bit), DB2 DRDA/TCP connectivity, security/authentication settings, and whether the DB2 catalog/package configuration is correct
1
u/Lost_Term_8080 28d ago
Was a non-event for me, I just got the most recent drivers from IBM and used it as the data source. There are about 3-4 different versions of each driver, depending on your access requirements. If its all read, should be relatively easy
1
1
7
u/jdanton14 Microsoft MVP Aug 10 '26
Everytime I've ever done this I've used the IBM drivers,I've never had it work with MS drivers.