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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

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
  • 6 replies
  • 2412 views
  • 0 likes
  • 3 in conversation