BookmarkSubscribeRSS Feed
anare
Calcite | Level 5

Hi Team,

 

Am getting an error while executing SAS program in SAS Enterprise 7.12

Error :- "An Error occurred executing the workspace job "Weekly". The server is disconnected.

 

Any suggestion will be much appreciated.

Thanks and Regards,

Naresh

7 REPLIES 7
anare
Calcite | Level 5

Thanks for the reply.

 

Its a very big code in SAS Enterprise Guide. Am executing this code from almost 1 year till now I dint get any such type error for this SAS Project.

If I open new project and starting building codes am not getting this error.



anare
Calcite | Level 5

In a SAS Project I have 3 programs built. However by executing 1st Task in the program only which has approx. 200 line of coding.

After executing this whole program am getting this error

anare
Calcite | Level 5

Sorry the information's are very confidential

But this code will be executed successfully in SAS Studio only in SAS EG am getting an error.

 

 

Kurt_Bremser
Super User

Then there's nothing we can do to help you. If you are not able to anonymize confidential parts of the code while keeping it's essence (so we can possibly repeat the problem), your only option is SAS technical support (they work under confidentiality rules).

emrancaan
Obsidian | Level 7

Have you tried following ? May be it is to do with large sas log file.

 

If you submit a job that generates an abnormally large log, SAS Enterprise Guide might display the following error:

An error occurred executing the workspace job "job_name". The server is disconnected.

If SAS Enterprise Guide logging is enabled, the following error is logged.

 

ERROR SAS.Shared.Exceptions.ServerExceptionHelper [(null)] - MapException() - Mapping error for:
System.Runtime.InteropServices.COMException (0x80010108): The object invoked has disconnected from its clients.
(Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))

 

 

Workaround

If the job in question generates the error soon after being submitted, try redirecting the streamed SAS log by adding the following code to the top of the program and submit the program again.

 

proc printto log="c:\path-on-server\EG.log"; run;

Then, check the SAS log to verify that the program has completed. If it did complete, then redirecting the log is the only current workaround.

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 7 replies
  • 4480 views
  • 1 like
  • 3 in conversation