Desktop productivity for business analysts and programmers

how to list user defined template and how to clear the active one

Reply
Regular Contributor
Posts: 168

how to list user defined template and how to clear the active one

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

Super User
Super User
Posts: 9,827

Re: how to list user defined template and how to clear the active one

[ Edited ]

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

Super User
Posts: 13,913

Re: how to list user defined template and how to clear the active one

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.

 

 

Ask a Question
Discussion stats
  • 2 replies
  • 95 views
  • 0 likes
  • 3 in conversation