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.

AI Navigator GIF.gif


Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.

Check it out on Microsoft Marketplace →

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