How to convert .xls file into CSV format?
Answer Posted / khaja
%macro imp (datasetname=,path=,fname=)
proc import out=&datasetname
datafile = "&path"
dbms = "&fname" replace;
getnames=yes;
run;
%mend;
%imp(datasetname=xyz,path="D:\docs...",fname=csv)
if you want to convert into txt,xls,mdb then simply you use
%imp(datasetname=xyz,path="D:\docs...",fname=mdb)
%imp(datasetname=xyz,path="D:\docs...",fname=txt)
%imp(datasetname=xyz,path="D:\docs...",fname=.xls)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is business intelligence? : Sas-bi
what is data integration? : Sas-di
what is sas enterprise intelligence architecture? : Sas-bi
What are pdv and it functions?
What is the difference between class statement and by statement in proc means?
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
how would you determine the number of missing or nonmissing values in computations? : Sas programming
what is snowflake schema? : Sas-di
why is a stop statement needed for the point=option on a set statement? : Sas programming
What sas features do you use to check errors and data validation?
Explain the purpose of substr functions in sas programming.
What is the use of stop statement?
Hi, If anyone has base SAS certification dumps, please share.
Explain bmdp procedure?