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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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