BookmarkSubscribeRSS Feed
DeepakSwain
Pyrite | Level 9

Hi there,

 

I am working a dataset having more than 3 million records. Following use of break tab couple of times, I noticed that log doesn't update. I believe following restart of session, I will overcome the problem easily. As I am having number of temporary tables in WORK, I don't want to restart the session. Is there any way to overcome the issue without restarting SAS session. 

 

Thanks in advance for your kind reply. 

 

Regards,

Swain
1 REPLY 1
FreelanceReinh
Jade | Level 19

Hi @DeepakSwain,

 

Good question. You're not the only one who has run into this problem. Does it help to redirect the log (maybe back and forth) using PROC PRINTTO?

 

If it's just because of the WORK datasets (and possibly formats), this inelegant workaround might help:

 

By setting

 

options noworkterm;

you prevent SAS from erasing the existing work library on termination.

 

 

Then you could start a new SAS session and move datasets, the work format catalog and what else can be moved from the old work library to the new one. This should not take much time as long as both directories reside on the same disk partition (which depends on your environment and option settings), so that the data are not physically rewritten.

 

Remaining issues, however, might be that libnames, filenames, macro variables, option settings etc. need to be restored in the new session. (Some companies have macros to store/restore all that session-specific information.)

 

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
  • 1 reply
  • 1032 views
  • 1 like
  • 2 in conversation