Data visualization with SAS programming

Control of Greplay Output File Name to ODS HTML

Accepted Solution Solved
Reply
Super Contributor
Posts: 291
Accepted Solution

Control of Greplay Output File Name to ODS HTML

Hello;

Have the code below where the default file name for the png file is 'template'. How do I control the file name so that it will have the value that I want it to have?

Using SAS 9.3, will be doing this in 9.4 also.

Thank you,

Bill

goptions reset=all

         dev=png;

ods html path='c:\temp' body="PCR04.htm";

proc greplay nofs;

  igout=gseg;

  tc=template.templt;

  template=h2v2hdr;

  treplay 2:1 3:2 4:3 5:4;

run;

quit;

  ods html close;


Accepted Solutions
Solution
‎11-06-2014 02:37 PM
SAS Employee
Posts: 963

Re: Control of Greplay Output File Name to ODS HTML

You should be able to use the name= option that ballardw mentioned, but I think you'll only specify the option once for one treplay.


treplay 2:1 3:2 4:3 5:4 name='somename';



View solution in original post


All Replies
Grand Advisor
Posts: 9,740

Re: Control of Greplay Output File Name to ODS HTML

treplay 2:1 Name="Graph 1" 3:2 Name='Graph 2' 4:3 name='Graph 3' 5:4 Name='yet another name';

should do it.

Solution
‎11-06-2014 02:37 PM
SAS Employee
Posts: 963

Re: Control of Greplay Output File Name to ODS HTML

You should be able to use the name= option that ballardw mentioned, but I think you'll only specify the option once for one treplay.


treplay 2:1 3:2 4:3 5:4 name='somename';



Post a Question
Discussion Stats
  • 2 replies
  • 273 views
  • 3 likes
  • 3 in conversation