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

Defining Headers and Footers

Table templates can contain two types of headers: table headers and column headers. Luckily, both types of headers are defined the same way. This section describes how to define headers and how to apply them to tables. The next section deals with applying headers to a column.

To define a header, use the standard proc template method of utilizing a define statement that has a template type and name to start the definition, and an end statement to end it. In this case, the type can be header or footer. Headers go at the top of the table, and footers go at the bottom of the table. The following code shows a definition of each of these types:

DEFINE HEADER myheader;
END;

DEFINE FOOTER myfooter;
END;

Defining a header ...

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