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!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.