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

Using Table Templates within DATA _NULL_

All of the tabular output that we have created in this chapter so far were just single-use tables. They generated tabular output based on the table definition in the PROC TEMPLATE table template or the proc odstable procedure using the data set given in the %render macro or data= option, respectively. However, using the DATA step to bind a data set to a table template gives you control over the rendering of a table template that overrides the table template itself.

The simplest form of creating a table template in proc template and printing the tabular output to ODS using the DATA step interface is as follows. We have seen this code previously. The DATA _NULL_ portion of this code is what is encapsulated ...

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