Hi Dan,
I have two follow-up comments/questions here. I realize this post was made about 7 years ago, but I hope you can still help me here.
1. When I go into edit the templates, after typing "odst", the path is under Sashelp.Tmplstat, not Tmplmst. Is this correct?
2. After finding the template I need to edit, when I right click, I do not have the option to edit it, I only have the option to open it. When I open the template, I does not let me edit it directly in that environment. Any idea why this may be happening?
I am using SAS version 9.4.
Thank you,
TJ
1. Yes, the templates are now divided across different item stores based on product. SASHELP.TMPLSTAT should be the correct one for your case.
2. The best thing to do is to copy the template to your program editor, make your changes, and submit the code like any other program. By default, your modified template should be written to SASUSER.TEMPLAT. Normally, this location is searched first for templates before SASHELP (unless you have modified ODS PATH). Therefore, when you run your proc, you should see your changes.
Hope this helps!
Dan
See the chapter "Customizing the Kaplan-Meier Survival Plot" in the SAS/STAT documentation.
In particular, read about how to download and use the template-modification macros.
and then read the section titled "Changing the Line Thickness."
Awesome! Thank you. I will go ahead and try these suggestions out.
Edit: This worked beautifully Dan! Thank you for opening my eyes up to the world of SAS templates!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.