In [3]:
proc sql;
    select count(*) as Total_Observations
    from sashelp.cars;
quit;
SAS Output

The SAS System

Total_Observations
3
In [1]:
Proc print data=sashelp.cars;
run;
SAS Output

The SAS System

Obs Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway Weight Wheelbase Length
1 Ford Excursion 6.8 XLT SUV USA All $41,475 $36,494 6.8 10 310 10 13 7190 137 227
2 GMC Yukon XL 2500 SLT SUV USA All $46,265 $40,534 6.0 8 325 13 17 6133 130 219
3 Hummer H2 SUV USA All $49,995 $45,815 6.0 8 316 10 12 6400 123 190
In [ ]: