BookmarkSubscribeRSS Feed
Rafgotsas
Calcite | Level 5

Every time I have a tiny break, my needy SAS EG 8.2 session disconnects and forgets all the datasets I've created. So I have to rerun everything from the start. Seems unnecessary since I'm running everything on local computer with no server/profile selected. Please help.

1 REPLY 1
Kurt_Bremser
Super User

First of all, extend the time before your computer goes to sleep. You can find that in the energy options of Windows.

EG loses network connections (and that includes "local" connections that utilize network sockets) as soon as the computer goes to sleep, and since "orphaned" workspace servers terminate, EG needs to start a new one.

 

Next, store intermediate datasets in a place aside from WORK. Create a directory in your Users directory, and define a libname called USER for it in your autoexec (eg in code sent to the workspace server when a connection is established).

USER is some kind of "permanent WORK". When such a library is defined, all single-level datasets will be created (and searched for) there instead of WORK, but will not be deleted at end of session.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2048 views
  • 1 like
  • 2 in conversation