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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3350 views
  • 0 likes
  • 3 in conversation