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)

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 691 views
  • 0 likes
  • 2 in conversation