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
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.
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?
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.