48 proc sort data = company.payroll;
49 by EmployeeIDNumber;
NOTE: There were 5 observations read from the data set COMPANY.PAYROLL.
NOTE: The data set COMPANY.PAYROLL has 5 observations and 2 variables.
NOTE: PROCEDURE SORT used (Total process time):
real time 0.02 seconds
cpu time 0.03 seconds
The sort procedure orders the observations in a SAS dataset by the values of one or more character or numeric variables. The procedure replaces the original dataset if no OUT option is used to create a new data set. In this case, COMPANY.PAYROLL is simply recreated (and sorted).
Below is the newly sorted dataset COMPANY.PAYROLL:
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.