LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 8 Jan 2008 17:23:25 -0800
Reply-To:     briceritter@GMAIL.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         briceritter@GMAIL.COM
Organization: http://groups.google.com
Subject:      Re: Export Graph to gif Enterprise Guide vs SAS-Base
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On Jan 7, 12:46 am, gerben <gerben_ja...@hotmail.com> wrote: > LS, > > I want to export a graph to a gif file on my local disk. The following > code doesnt't work in SAS Enterprise Guide 4.1 (4.1.0.500). > > filename gout "C:\Temp\test01.gif"; > goptions device=gif gsfname=gout gsfmode=replace; > proc gchart data=sashelp.class; > vbar age; > run; > quit; > > The graph is made, but in a different file C:\SASwork > \_TD356\Prc2\gchart.gif. There are no error messages in the log. If I > run the exact same code in SAS 9.1.3 the result is like I expected. > > Can anybody explain this difference and tell me how I can do the same > thing in EG. > > Thanks in advance, > > Gerben

I can't explain it, but I had the same problem yesterday. With the attached code it now goes to the correct directory, but SAS automatically names the gif outputs sequentially, while I want to name them myself. That's what the &yyyyq text indicates. That wouldn't be important for you, but the code may help. Just input your CDrive for the paths and it should work. good luck.

ods html file= "/wamu/erm_sas_analytics/sas/hlrm/Environment/Data/ Users/u246484/Ad_hoc/Metro_PDEP_HPI_Comp/HPImsacur&yyyyq..htm" gpath='/wamu/erm_sas_analytics/sas/hlrm/Environment/Data/Users/u246484/ Ad_hoc/Metro_PDEP_HPI_Comp/&yyyyq'; goptions device=gif ftext="swiss2" ftitle="swiss2";

/* generate the map without rural county boundaries*/ proc gmap data=fittedhpi map=newmap all ; choro HPImsChg4 / discrete coutline=black des='gboundry-1'/ *nolegend*/ /*annotate=maplabel*/ coutline=gray; format HPImsChg4 hpichange.; id state county; run; quit;

ods html close; ods listing;


Back to: Top of message | Previous page | Main SAS-L page