Please see the below example: proc export outfile='C:\class.xls' data=sashelp.class; run; 4 data class1; 5 infile "C:\class.xls"; 6 input name$ sex$ age height weight; 7 run; NOTE: The infile "C:\class.xls" is: Filename=C:\class.xls, RECFM=V,LRECL=256,File Size (bytes)=11776, Last Modified=07May2014:01:13:55, Create Time=07May2014:01:13:54 NOTE: LOST CARD. name=ÐÏ à¡± sex= age=. height=. weight=. _ERROR_=1 _N_=1 NOTE: 1 record was read from the infile "C:\class.xls". The minimum record length was 6. The maximum record length was 6. NOTE: SAS went to a new line when INPUT statement reached past the end of a line. NOTE: The data set WORK.CLASS1 has 0 observations and 5 variables. NOTE: DATA statement used (Total process time): real time 0.29 seconds cpu time 0.07 seconds
... View more