Datastage ODBC connector stage throws error, SQLSTATE = 08S01: Native Error Code = 0: Msg = [IBM(DataDirect OEM)][ODBC SQL Server Wire Protocol driver]Socket closed.

Posted by

Table of Contents

Problem

Datastage jobs are failing when running a query against the Azure SQL Server database with the error: SQLSTATE = 08S01, Native Error Code = 0, Message = [IBM(DataDirect OEM)][ODBC SQL Server Wire Protocol driver] Socket closed.

Cause

The maximum network packet size for encrypted connections for SQL Server, which is 16,383 bytes, was probably being exceeded.

Resolution

Set PacketSize=0 to use the server default or use a fixed packet size such as PacketSize=32.

guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x