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
how do you test for missing values? : Sas programming
What is program data vector (pdv) and what are its functions?
How do you use the do loop if you don’t know how many times you should execute the do loop?
what is sas application server? : Sas-di
What do you know about symput and symget?
Mention the difference between ceil and floor functions in sas?
What is the difference between match merge and one to one merge?
What are the implications?
What is the difference between INPUT and INFILE ?
how to read the variables in sas? : Sas-administrator
How is character variable converted into numeric variable and vice versa?
what is sas and what are the functions? : Sas-administrator
What are the parameters of scan function?
For clinical entire study how many tables will create approx?
how many display types available in sas bi dashboard? : Sas-bi