Chapter 5
PROC TABULATE
is for developing well-formatted tabular reports.The ODS allows the programmer to tell SAS which internal tables generated during the
PROC
should be saved outside thePROC
, and where to save them.No special code is needed. For the PROCs that use GTL –
PROC SGPLOT
,PROC SGPANEL
,PROC SGSCATTER
, andPROC TEMPLATE
used withPROC SGRENDER
– the ODS is automatically deployed when running thePROC
.Since the department leader wants to write paragraphs next to the tables, the best format in which to produce the SAS report would be
*.rtf
, which opens in Microsoft Word.PROC TABULATE
could be used to format the tables as per the department leader's specifications.To output a list of variable names using the ODS, first, the programmer would need to recall what
PROC
would produce in its output.PROC CONTENTS
is the commonly usedPROC
for outputting a list of variables in a dataset. Once the programmer identifies the appropriate...