Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

List out some key concept of SAS

1116


What is a pdv and what are its functions?

1137


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2402


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1482


do you need to know if there are any missing values? : Sas programming

1046


explain what is factor analysis? : Sas-administrator

1106


for what purpose would you use the retain statement? : Sas programming

1082


Are you involved in writing the inferential analysis plan? Tables specfications?

2561


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

1328


What are the implications?

1700


what are sas/access and sas/connect? : Sas programming

986


Which date function advances a date, time or datetime value by a given interval?

1138


Differences between where and if statement?

1077


What is the difference between order and group variable in proc report?

1425


what is data integration? : Sas-di

1109