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 the basic syntax of a sas program?
How can I remove header from output data set?
what does the run statement do? : Sas programming
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
What are the automatic variables for macro? : sas-macro
how do you want missing values handled? : Sas programming
How long can a macro variable be? A token? : sas-macro
How do you use the do loop if you don’t know how many times you should execute the do loop?
what is information maps?
List out some key concept of SAS
What do the PUT and INPUT functions do?
What Proc glm does?
What is the use of function Proc summary?
How many ways to overcome a missing values???
If money were no object, what would you like to do?