Desktop productivity for business analysts and programmers

Possible to create a SGE file in SAS Enterprise guide 4.3?

Reply
Occasional Contributor
Posts: 8

Possible to create a SGE file in SAS Enterprise guide 4.3?

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! Smiley Happy

Occasional Contributor
Posts: 8

Re: Possible to create a SGE file in SAS Enterprise guide 4.3?

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 Smiley Happy

(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 Smiley Happy

Cheers,

Zaneta

Ask a Question
Discussion stats
  • 1 reply
  • 174 views
  • 0 likes
  • 1 in conversation