05-10-2012 10:35 PM
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;
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
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!
05-13-2012 07:03 PM
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