101 data _null_;
102 set old;
103 put sales1 sales2;
NOTE: There were 4 observations read from the data set WORK.OLD.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
The PUT statement writes the values to the SAS log if used in a data step without any file statement. All observations for sales1 and sales2 values are written to the log by SAS. Option A is correct.
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.