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;
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';
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.
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';
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.
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.