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
What is the difference between proportion and average?
how can you put a "trace" in your program? : Sas programming
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
How does proc sql work?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
Explain the difference between informat and format with an example.
Approximately what date is represented by the SAS date value of 730?
What is data _null_?
Mention what is SAS data set?
Difference between nodup and nodupkey options?
What is the basic structure of the SAS base program?
How to create a permanent sas data set?
how does sas handle missing values in a merge? : Sas programming
Mention the difference between ceil and floor functions in sas?
Name some categories in sas 9? : sas-grid-administration