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.

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1536 views
  • 0 likes
  • 3 in conversation