TEMPLATE Procedure: Creating Crosstabulation Table Templates
PROC TEMPLATE Statement
Begins a PROC TEMPLATE template.
Syntax
PROC TEMPLATE
DEFINE CROSSTABS table-path </ STORE=libref.template-store>;
<table-attribute-1; <table-attribute-n>;>
CELLVALUE cellvalues;
DEFINE CELLVALUE cellvalue;
statements-and-attributes;
END;
DEFINE HEADER header-name;
statements-and-attributes;
END;
DEFINE FOOTER footer-name;
statements-and-attributes;
END;
DYNAMIC variable-1 <'text-1'> <variable-n <'text-n'>>;
FOOTER footer-name(s);
HEADER header-name(s);
NOTES text;
END;
Copyright © SAS Institute Inc. All rights reserved.