180 proc print data=work.employees;
181 id location;
182 by location;
183 var dept employees work_hours;
NOTE: There were 6 observations read from the data set WORK.EMPLOYEES.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.33 seconds
cpu time 0.01 seconds
The statements that created the report are:
var dept employees work_hours;
The match on the ID and BY variable eliminates the BY-line and gives the non-repeating value of the variable Location. The VAR statement controls which other variables are shown and in what order they appear.
The following output is created from the work.EMPLOYEES dataset:
The one and only FREE resource for general SAS online training as well as study guides for the SAS Base Certification. My goal is to create the SAS Certification prep guide that I never found but always wanted. This should also be a place to come if you are new to the language but are simply looking for online SAS training.