119 data _null_;
120 set old (keep = prod sales1 sales2);
121 file 'C:\mysaslib\old_text';
122 put sales1 sales2;
NOTE: The file 'C:\mysaslib\old_text' is:
RECFM=V,LRECL=256,File Size (bytes)=0,
NOTE: 4 records were written to the file 'C:\mysaslib\old_text'.
The minimum record length was 9.
The maximum record length was 9.
NOTE: There were 4 observations read from the data set WORK.OLD.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds
If no delimiter is specified in the PUT statement, SAS uses the space delimiter as the default. Option B 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.