Creating Tabular Reports |
Beginning Your PROC TABULATE
Step |
Overview of PROC TABULATE
Now that you've pictured your table, you can begin writing your SAS program. To produce a tabular report, you first reference the library where your SAS data set is stored. You can also set system options to control the appearance of your report. Then you submit a PROC TABULATE step. Your PROC TABULATE step contains the following statements: |
SAS Statement | Instructions |
---|---|
PROC TABULATE | invokes the procedure and identifies your data set |
CLASS | specifies variables used to classify data |
VAR | specifies variables used to analyze data |
TABLE | defines the table to display your data |
You use the PROC TABULATE statement to invoke the TABULATE procedure and specify the data set you are using to build your table. |
General form, PROC TABULATE statement:
PROC TABULATE options; where options includes the DATA= option to specify the data set to use. For example: proc tabulate data=clinic.admit; |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.