BookmarkSubscribeRSS Feed
jbond007
Obsidian | Level 7

Hi Communities,

 

Recently we are having an on and off issues with our batch jobs, having [SAS][ODBC SQL Server Wire Protocol driver]Socket closed. We don't have any pattern observed since its happening at  different time and different jobs. Any tips on what to check or maybe debugging level to get the root cause?

 

SAS TS suggested that the cause of this is because of:

  • network failure
  • firewall timeout
  • the database unexpectedly terminated the connection
  • account permissions

 

But according to our DB and network team, nothing wrong on their side so we're checking what to tweak on SAS side. Will adding sastrace help on this?

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/n0732u1mr57ycrn1urf24gzo38sc.htm

 

Any tips is appreciated, thank you.

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

This message is Generated by the ODBC driver. SAS receives it and displays it as is.

 

The issue is lost communication between the ODBC driver and SQL Server, nothing to do with SAS. The communication between SAS and the driver is not what that message is about, and doesn't seem to be the problem.

Your platform admin needs to investigate. The driver might have logging options, they could try enabling them.

The driver seems be made by Progress. Contact them.

You could also try other ODBC SQL Server drivers.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 250 views
  • 0 likes
  • 2 in conversation