BookmarkSubscribeRSS Feed
Anita_n
Pyrite | Level 9

Hi all, 

I saw this pie chart (using proc sgpie) which I really like. But it seems not to work in sas base(32 bits). Is there any way do create similar charts in sas base (32bits)? using gcharts or alternatives

12 REPLIES 12
Anita_n
Pyrite | Level 9

okay, thanks

GraphGuy
Meteorite | Level 14

Do you know what version of SAS you have?

Anita_n
Pyrite | Level 9
yes, version 9.4
Kurt_Bremser
Super User

While 9.4 is the current version of SAS, lots of additional features have been added with the Maintenance Levels.

Run

%put &sysvlong.;

and post the resulting log.

Anita_n
Pyrite | Level 9

@Kurt_Bremser this was the results in SAS LOG on running the code above:

 

2 %put &sysvlong.;
9.04.01M7P080520
 

Kurt_Bremser
Super User

This means you are at the current maintenance level (7), so SGPIE should be available. Please post the log from your try of using the procedure.

Anita_n
Pyrite | Level 9
proc sgpie data=sashelp.class;
  donut age / response=weight datalabeldisplay=(response);
run;

I think it's because I installed the 32-bit windows version

 

ERROR: SGPIE is not available on this platform. 64-bit Windows or Linux is required.
NOTE: The SAS System stopped processing this step because of errors.
714 proc sgpie data=sashelp.class;
715 donut age / response=weight datalabeldisplay=(response);
716 run;

 

Anita_n
Pyrite | Level 9

Yes, you are right. Thank you.

GraphGuy
Meteorite | Level 14

I don't generally give it much thought (since I use 64-bit SAS), but Proc SGpie  and Proc SGmap are both 'newer' procs, and use slightly newer/different technology than the other ODS Graphics procedures, and both of these procs are only available on 64-bit SAS. This is mentioned in the doc, but you probably have to be "looking for it" to really notice.

 

sgpie_64.png

 

sgmap_64bit.png

Anita_n
Pyrite | Level 9

yes, I will have to install the 64-bit sas version to get it working

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 12 replies
  • 1062 views
  • 2 likes
  • 3 in conversation