FIX: SQLCODE -379 returned for four-part linked server CALL statement against DB2 for iSeries stored procedure


When you run a Microsoft SQL Server Distributed Query Processor four-part linked server CALL statement against DB2 for i, SQL Server returns an error message that resembles the following:

OLE DB provider "DB2OLEDB" for linked server "<linked server name>" returned message "An internal network library error has occurred. A network level syntax error has occurred. SQLSTATE: HY000, SQLCODE: -379".

Msg 7212, Level 17, State 1, Line 1 Could not execute procedure '<procedure_name>' on remote server '<remote server name>'. "



The fix that resolves this problem is included in the following cumulative updates for Host Integration Server:

Cumulative Update 2 for Host Integration Server 2016

Cumulative Update 4 for Host Integration Server 2013


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!