BookmarkSubscribeRSS Feed
alepage
Barite | Level 11

Hello,

 

When you do a proc template and procedure that you will run after the proc template will use this template.

How is is possible to first list the user define template and to clear those.

 

Regards,

Alain

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

You can get a list of templates by running the code:

proc template;
  list;
run;

Or by looking in sashelp.vstyle.

 

I am not sure what you mean by "clear those", do you mean remove the template completely - not a good idea as other code might use them.  Just switch your template back to default to not use the template any more.

 

To permanently delete the template:

http://documentation.sas.com/?docsetId=odsproc&docsetTarget=n1cdv7tec5xdxrn1vfdtkaargi8b.htm&docsetV...

ballardw
Super User

It may help to tell us which type of template you are concerned with. Proc template is used to create multiple types of templates and the syntax for "clearing" them can different somewhat between types.

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1594 views
  • 0 likes
  • 3 in conversation