How to convert .xls file into CSV format?
Answer Posted / paul
step#1:Import excel file into SAS
proc import datafile='file location/filename.xls'
out=datasetname dbms=excel replace;
sheet='sheetname$';
getnames=yes;
run;
step#2: Export file to csv file.
data _null_;
set datasetname;
file 'location/file1.csv';
put <var list> ;
run;
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Explain the difference between using drop = data set option in set and data statement?
Enlist the syntax rules followed in sas statements.
Mention what is SAS data set?
What is maximum number of rows and cols can be handled in SAS?
explain about sas business intelligence? : Sas-bi
Mention what is the difference between nodupkey and nodup options?
Explain why double trailing @@ is used in input statement?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
How substr function works in sas?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
Mention the difference between ceil and floor functions in sas?
what is the purpose of _error_? : Sas programming
Can you execute macro within another macro? : sas-macro
Mention common programming errors committed in sas ?