How to access Templates from SAS EG? I couldnt find sashelp.tmplmst when I expand the library SAShelp. I can see those when I rdp to the server and launch SAS session on the server.
Sorry I just realised you are looking at ODS templates. These are held in ITEMSTORES not catalogs, so you can't use proc CATALOG.
Instead you use PROC TEMPLATE in EG like this:
There is no way of viewing template item stores in a window via EG that I'm aware of but I agree it would be handy...
Thank You for your response. But for some reasons, I am not able to see anything under Tasks > >Task Templates >> Task Template Manager. It is just blank.
SAS templates are stored in SAS catalog entries. You can't view the contents of SAS catalogs in vanilla EG. You can add the SAS catalog veiewer custom task:
http://blogs.sas.com/content/sasdummy/?s=catalog
But this still won't allow you to open a template entry.
This is an example of one of the restrictions of using EG...
Of course to view a catalog, you can always use:
proc catalog catalog=libref.catalog-name;
contents;
run;
Agreed @paulkaefer - I meant to say view in a window as opposed to list the contents in the SAS log.
Hi All - I may have confused everyone. I am looking for the template files under sashelp.tmplmst. How can I access those from EG? I get the below error when I run the SAS code.
proc catalog catalog=sashelp.tmplmst;
contents;
run;
ERROR: Catalog SASHELP.TMPLMST does not exist.
Sorry I just realised you are looking at ODS templates. These are held in ITEMSTORES not catalogs, so you can't use proc CATALOG.
Instead you use PROC TEMPLATE in EG like this:
There is no way of viewing template item stores in a window via EG that I'm aware of but I agree it would be handy...
Thank You Very much SASKiwi. This works.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.