BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JBerry
Quartz | Level 8

In SAS Enterprise Guide, when I run PROC LOGISTIC ...  the process spawns a bunch of temp table shortcuts to appear on my Process Flow work space.

It's immensely annoying because it causes clutter and it always readjusts the positioning of my objects.  Any way to suppress this behavior?

The temp tables are all named like...

_DOCTMP000000000000000000000026

_DOCTMP000000000000000000000027

_DOCTMP000000000000000000000028

_DOCTMP000000000000000000000029

_DOCTMP000000000000000000000030

Sample code:

%LET VARS = v1 v2 v3 v4;

%LET OUTDATA = work.outdata;

ods graphics on;

proc logistic data=work.indata NAMELEN=32;

model Y_VAR(event='1') = &VARS.

  / SELECTION = STEPWISE rsq lackfit;

    roc;

  OUTPUT OUT=&OUTDATA. p=myPrediction ;

run;

title;

title1;

proc reg data=data=work.indata;

model Y_VAR= &VARS.

/ TOL VIF COLLIN;

run;

ods graphics off;

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

It looks like there are a few ODS document "work" tables that aren't being deleted when the procedure completes.  What version of SAS are you using?  I tried a similar example but wasn't able to replicate the problem.

You can work around the issue by adding this to the end of your program:

proc datasets lib=work nolist nodetails;
 
delete _DOCTMP:;
quit;

Chris

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

View solution in original post

6 REPLIES 6
JBerry
Quartz | Level 8

A shameless /bump

ChrisHemedinger
Community Manager

It looks like there are a few ODS document "work" tables that aren't being deleted when the procedure completes.  What version of SAS are you using?  I tried a similar example but wasn't able to replicate the problem.

You can work around the issue by adding this to the end of your program:

proc datasets lib=work nolist nodetails;
 
delete _DOCTMP:;
quit;

Chris

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
JBerry
Quartz | Level 8

Thank you Chris! The workaround seems to work!

I'm using EG 6.1 M1HF1 for Windows 7 x64 on SAS 9.4.1.0

DanielFuhrmann
Calcite | Level 5

Hello Chris,

I am seeing this phenomenon in my current SAS session, too. I am running the desktop version of SAS 9.4 (TS1M1) on a X64_7PRO platform. The temporary data sets are being created by both PROC REG and PROC SYSLIN in my project.

Best,

Daniel

JBerry
Quartz | Level 8

Hi Daniel,  I have been religiously using Chris's suggestion above to delete datasets that spawn at the end of my programs, it really helps keep my workspace looking neater.

DanielFuhrmann
Calcite | Level 5

Hello Jberry,

I like Chris's recommendation, too. It's very useful. My post was purely to inform Chris that this problem occurs not only in SAS EG but also in the desktop client's windowing environment of SAS.

Take care,

Daniel

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 2947 views
  • 0 likes
  • 3 in conversation