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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1169 views
  • 0 likes
  • 3 in conversation