Hi there,
I've recently discovered editable graphics in SAS - which are awesome!!
I wondered though if it's possible to create an .SGE file from within SAS Enterprise Guide 4.3? I currently have access to SAS 9.2 and SAS Enterprise Guide 4.3, and by using the following code in SAS 9.2 I can create an SGE file:
ODS listing GPATH = "C:\mygraphs" sge = on;
ods graphics on;
proc univariate data=duncan noprint;
var income;
histogram income;
run;
But when I run the same code in SAS Enterprise Guide 4.3, I just get a (non-editable) graph within SAS Enterprise Guide but no SGE file is created. Except occasionally - sometimes when testing this code, in Enterprise Guide an extra tab opens saying that I need to download the results - this download button doesn't work (I get an error message saying that a problem has been encountered and EG needs to be closed) but the SGE file has been created, which is great! But I can't detemine what I'm doing differently when this happens - can anyone help out?
An alternative solution to creating an editable graph from code that is run in SAS Enterprise Guide may be to use ODS Graphics Designer? (I already have this set up to work from EG.) Does anyone know if it's possible to create a graph in ODS Graphics Designer from code? (as opposed to the usual method of creating code from point-and-click). Or any information about an alternative method of creating an editable graph from code that is run in EG would also be most welcome!
Many thanks in advance for any help
Cheers,
Zaneta
P.S. I also have this question posted in the SAS/Graph and ODS graphics forum, but it was recommended that I also post it in the EG forum as it relates specifically to EG. Thanks very much for this suggestion!
Hi everyone,
Just a quick note to let you know that this question has now been answered in my post with the same name in the SAS/Graph and ODS graphics forum
(apologies for any confusion - as my query related to graphs in EG using ODS graphics, I posted my question in both forums!).
Many thanks to everyone for their help
Cheers,
Zaneta
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.