07-20-2016 08:42 AM
I need to extract this data from excel file. the thing is, in the below variables the date variable consists of both numeric and charater data type. while iam reading into sas ,i am getting only few records. i should get all records into sas data set.
could you please help me ?
the below attchement consists of sample of my data.
thanks in advance
07-20-2016 08:57 AM
07-20-2016 09:11 AM
i've tried these two codes. but instead of using libname statement, i should pull out the data using proc import or else proc sql.
connect to excel(path="C:\Users\siddiq\Desktop\Book1.xls");
create table tab as
select * from connection to excel
select * from [sheet1$]
disconnect from excel;
proc import datafile="C:\Users\siddiq\Desktop\book1.xls"