30 proc datasets lib = sasuser;
31 contents data = class varnum;
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.80 seconds
cpu time 0.35 seconds
The CONTENTS statement in a PROC DATASETS describes the contents of one or more SAS data sets and prints the directory of the SAS library.
By default, the CONTENTS statement lists the variables alphabetically. The option VARNUM prints a list of the variables by their position in the data set.
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.