BookmarkSubscribeRSS Feed
NateDerby
Calcite | Level 5

Hello everyone!

I'm using 64-bit EG 5.1 (5.100.0.13304) with Hot fix 21 (the latest), and have an unexplained error.

My code is this, where oBranchName and joinDesc are categorical variables:

     ODS PRINTER PRINTER=png FILE="&outroot\output8,png";

     PROC FREQ DATA=closed_member_demographics NOPRINT;

          TABLES oBranchName*joinDesc / out=stats8 ( KEEP=oBranchName joinDesc count );

     RUN;

     PROC GPLOT data=stats8;

          BUBBLE oBranchName*joinDesc=count;

     RUN;

     ODS PRINTER close;

The error I get is this for the PROC GPLOT step:

     ERROR: Physical file does not exist, C:\Users\nderby\AppData\Local\Temp\SEG5680\SAS Temporary Files\_TD5992_GALILEO_\_FE811AE9D4F474BAD8DC3D0E025D40B.bmp.

This happens even if I keep the ODS PRINTER closed. Any ideas? This seems like a bug.

The really bizarre thing is that the following similar code (for a categorical variable ageTier and a numeric variable mOpenYear) works perfectly:

     ODS PRINTER PRINTER=png FILE="&outroot\output7,png";

     PROC FREQ DATA=closed_member_demographics NOPRINT;

          TABLES ageTier*mOpenYear / out=stats7 ( KEEP=ageTier mOpenYear count );

     RUN;

     PROC GPLOT data=stats7;

          BUBBLE ageTier*mOpenYear=count;

     RUN;

     ODS PRINTER close;

Thanks so much,

NATE

2 REPLIES 2
Kurt_Bremser
Super User

This may be a Windows permissions and permissions inheritance problem. Try to take a look at the directory tree and the properties if the directories while the SAS session is still active.

chris2377
Quartz | Level 8

I don't know if this solves your problem or not, but in the first line:


ODS PRINTER PRINTER=png FILE="&outroot\output8,png";


there is a comma between "output8" and "png". Shouldn't there be a dot?

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