Example 2: Creating a Tagset By Copying a Tagset's Source
Features:SOURCE statement
DEFINE TAGSET statement:
DEFINE EVENT statement
Details
This example copies the source for a tagset that SAS supplies, modifies the template,
and then builds a new tagset for custom output. To create a new tagset, use the SOURCE
statement in PROC TEMPLATE to copy a tagset's source. Then you can customize the
template as necessary.
Program
proc template;
source tagsets.csv;
run;
Program Description
Copy the SAS tagset to an external file. The following statements copy the tagset
source from the SAS tagset Tagsets.CSV to the SAS log.
proc template;
source tagsets.csv;
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.