BookmarkSubscribeRSS Feed
macroCharlie
Calcite | Level 5
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?
1 REPLY 1
Andre
Obsidian | Level 7
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)

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
  • 1 reply
  • 1030 views
  • 0 likes
  • 2 in conversation