BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
KBACHU
Fluorite | Level 6

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.

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

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:

 

http://support.sas.com/documentation/cdl/en/odsproc/67922/HTML/default/viewer.htm#n1551aai5l9e6zn0zt...

 

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

View solution in original post

8 REPLIES 8
paulkaefer
Lapis Lazuli | Level 10

You should be able to see them under Tasks >> Task Templates >> Task Template Manager...

 

reference

KBACHU
Fluorite | Level 6

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.

SASKiwi
PROC Star

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

paulkaefer
Lapis Lazuli | Level 10

Of course to view a catalog, you can always use:

proc catalog catalog=libref.catalog-name;
    contents;
run;
SASKiwi
PROC Star

Agreed @paulkaefer - I meant to say view in a window as opposed to list the contents in the SAS log.

KBACHU
Fluorite | Level 6

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.

SASKiwi
PROC Star

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:

 

http://support.sas.com/documentation/cdl/en/odsproc/67922/HTML/default/viewer.htm#n1551aai5l9e6zn0zt...

 

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

KBACHU
Fluorite | Level 6

Thank You Very much SASKiwi. This works.

sas-innovate-2024.png

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.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 8 replies
  • 3062 views
  • 3 likes
  • 3 in conversation