BookmarkSubscribeRSS Feed
deleted_user
Not applicable
My gif files have been directed to a different location:
WARNING: GSFNAME OUTPUT has not been assigned. NOTE: GSFNAME OUTPUT temporarily assigned to C:\WINDOWS\system32\sasgraph.gif.
How do I fix this?

goptions reset=goptions ;
ods listing;
goptions device=gif gsfname=output gsfmode=replace;
filename outfile "C:\LastInjury.gif";
goptions xpixels=1800 ypixels=500;
goptions border;
goptions cback=white;
goptions gunit=pct;
goptions ftitle="arial/bo" ftext="arial";
goptions htitle=6 htext=4;
legend1 shape=bar(.5in,.5in) frame cshadow=gray label=(height=3.8 position=left font="arial/bold" 'Days:') VALUE=(HEIGHT=3.5);
proc gmap data=claim2 map=datemap2 all anno=my_anno2;
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
You might take a look at this documentation:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a002607796.htm
Your FILEREF (specified in the FILENAME statement) must match your GSFNAME value -- as shown in the example with the fileref MYGIF1 in #1 and #2 of the doc example.

cynthia
deleted_user
Not applicable
Thanks. That worked.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2170 views
  • 0 likes
  • 2 in conversation