The SAS Output Delivery System and reporting techniques

Why are my gplot gif files saved to C:\Windows\System32

Reply
Occasional Contributor
Posts: 18

Why are my gplot gif files saved to C:\Windows\System32

I have a program that loads data, manipulates it and runs some stats then uses gplot for graphs. I have set this up to use ODS HTML by placing this code at the beginning of my program:

*ods listing close;
ods html body = 'C:\Temp\Body.html'
Contents = 'C:\Temp\Contents.html'
Page = 'C:\Temp\Page.html'
Frame = 'C:\Temp\Frame.html'
Style = Analysis;

with a ods html close; at the end

The program used to run fine displaying all my gplot gifs in the browser. Now It only shows a place holder for the gif. I did some research and found that the gifs where being written to C:\Windows\System32 instead of C:\Temp.
Does anyone know why this changed?
Super Contributor
Posts: 273

Re: Why are my gplot gif files saved to C:\Windows\System32

Charlie,
two remarks
-read sas documentation before asking a trivial question

see a solution WITH gpath=

ods listing close;
ods html body = 'C:\Temp\Body.html' gpath="c:\temp"
Contents = 'C:\Temp\Contents.html'
Page = 'C:\Temp\Page.html'
Frame = 'C:\Temp\Frame.html'
Style = Analysis;

proc gslide;
title 'test of place of gif';
run;
quit;

ods html close;
ods listing;

-you are referring to a program without showing any lines or resume
nor the setted sasuser,saswork and current folder adresses
and your question has as subject this matter!

Sas tech support can help on it
but i don't think this forum, which purpose is more general ods difficulties (not peculiar) and the same for sas basic questions.

Cylthia may correct me if necessary.

Andre (Paris)
Ask a Question
Discussion stats
  • 1 reply
  • 124 views
  • 0 likes
  • 2 in conversation