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 difference between infile and input? : Sas-administrator
why is sas data integration studio important? : Sas-di
Did you used proc test? when?
What will calendar procedure do?
Enlist the functions performed by sas.
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
What is substr function?
Explain the use of proc print and proc contents?
what is star schema? : Sas-di
what is snowflake schema? : Sas-di
what are the benefits of data integration? : Sas-di
how does sas handle missing values in functions? : Sas programming
Explain proc sort?
Mention few capabilities of sas framework.
Explain why double trailing @@ is used in input statement?