Page 75 - SAS_manual
P. 75
Output using dupout:
Dupout is used to see the removed duplicate records.
7.3 PROC PRINT:
Proc print is used to display values present in data set.
Syntax:
Proc print data=dsn<option>
Varvarlist;
By pre_sorted variable;
Id varlist;
Sum numeric varlist;
Run;
LIST OF OPTIONS:
N=to display number of observation at the bottom.
NOOBS=to remove the obs column.
DOUBLE=to skip one between the observation.
Example:
Var statement: This is used to display variables that you want to display and their order. In
the absence of var statement it will display all the values.
By statement: It is used to create separate block for each unique value of given
variable. But data set should be sorted
Id statement: it is used to replace obs column with given variable.
Sum statement: It is used only for numeric variable and display total of given variable at
bottom.
SAS HANDBOOK | VISIT:: http://nikhilanalytics.com 75