BookmarkSubscribeRSS Feed
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.

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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

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