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’s the difference between var b1 – b3 and var b1 — b3?
what are the component of range? : Sas-bi
What function CATX syntax does?
why is a stop statement needed for the point=option on a set statement? : Sas programming
For clinical entire study how many tables will create approx?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
How will you generate test data with no input data?
what are sas/access and sas/connect? : Sas programming
what is the function of catx syntax? : Sas-administrator
how does sas handle missing values in formats? : Sas programming
name the scheduler for scheduling job and explain the scheduler? : Sas-di
Name and describe few sas character functions that are used for data cleaning in brief.
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
how to change the execute of macro