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
List out some key concept of SAS
What is a pdv and what are its functions?
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
do you need to know if there are any missing values? : Sas programming
explain what is factor analysis? : Sas-administrator
for what purpose would you use the retain statement? : Sas programming
Are you involved in writing the inferential analysis plan? Tables specfications?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
What are the implications?
what are sas/access and sas/connect? : Sas programming
Which date function advances a date, time or datetime value by a given interval?
Differences between where and if statement?
What is the difference between order and group variable in proc report?
what is data integration? : Sas-di