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
explain the function of substr in sas? : Sas-administrator
What do the SAS log messages "numeric values have been converted to character" mean?
how does sas handle missing values in functions? : Sas programming
How would you determine the number of missing or nonmissing values in computations?
how could you generate test data with no input data? : Sas programming
Name few SAS functions?
what is null hypothesis? why do you consider that?
Explain the main difference between the sas procedures and functions? : Sas-administrator
State the difference between INFORMAT and FORMAT ?
what are the benefits of data integration? : Sas-di
Differentiate between ceil and floor functions.
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager
how to do user inputs and command line arguments in sas?
Are you involved in writing the inferential analysis plan? Tables specifications?
What is the use of %include statement?