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
Diamond | Level 26
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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2461 views
  • 0 likes
  • 2 in conversation