When you submit a stored process from SAS Add-In for Microsoft Office or SAS Enterprise Guide, the following error might occur:
The error occurs when a disconnect from the SAS® Metadata Server has occurred.
In this scenario, the Enterprise Guide diagnostic log contains the following error:
If your SAS server is 9.3 or earlier, you need to identify the cause of the disconnect and prevent the disconnect from occurring. Commonly, disconnects are caused by network devices that contain a TCP time-out setting. This setting severs network connections that are idle for a set period of time. Work with your network team to identify the cause of the disconnect.
With SAS 9.4, the KEEPALIVE object server parameter should be set on the SAS Metadata Server. The KEEPALIVE parameter sends an event packet to inactive clients on a regular interval to prevent disconnection by network firewalls.
The KEEPALIVE option can be set within a configuration file for the SAS Metadata Server.
Note: Use value to specify the number of seconds that you want the packet to be sent to the SAS client.
Here is an example:
-objectserverparms "cel=credentials protocol=bridge port=8561 keepalive=600 classfactory=0217E202-B560-11DB-AD91-001083FF6836 trustsaspeer='Path\to\trustedPeers.xml' hostknownby='machinename'"