how can u import .csv file in to SAS?tell Syntax?
Answer Posted / shruthi
data DatasetName(drop = If any);
infile 'Path\CSVFileName.csv' delimiter = ',' ;
informat Var1 $2.;
informat Var2 anydtdte21.;
format Var1 $2.;
format Var2 anydtdte21.;
Input
Var1 $
Var2 $;
run;
Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
what is sas and what are the functions? : Sas-administrator
what is metadata? : Sas-bi
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
What is the role of unrestrictive users? : sas-grid-administration
How necessary is it to be creative in your work?
how will you locate the sas platform applications? : Sas-bi
what are some differences between proc summary and proc means? : Sas programming
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
What is the function of Stop statement in a SAS Program?
why is sas considered self-documenting? : Sas programming
how do you want missing values handled? : Sas programming
What is the difference between %put and symbolgen? : sas-macro
Tell e how how dealt with..
what are 5 ways to perform a table lookup in sas? : Sas-administrator
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?