O'Reilly logo

PROC TEMPLATE Made Easy by Kevin Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PROC TEMPLATE Statements

The following sections describe the statements in proc template that deal with template management. This includes things like browsing and displaying templates, deleting templates, and setting up template store paths.

The DELETE Statement

The delete statement deletes the first template or directory in the ODS path1 with the given name. The general syntax is as follows.

DELETE template-or-directory-name;

We have seen one example of this previously when deleting the Base.Template.Table template. The code is shown again below.

PROC TEMPLATE;
    DELETE Base.Template.Table;
RUN;

Be aware that if the name given to the delete statement is a directory name, all of the templates and directories within that directory are deleted as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required